home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 3.iso / dist / fw_mc.idb / usr / freeware / lib32 / mc / mc.hlp.z / mc.hlp
Text File  |  2002-07-08  |  121KB  |  3,276 lines

  1. [Contents]
  2. Topics:
  3.  
  4.    DESCRIPTION DESCRIPTION
  5.    OPTIONS OPTIONS
  6.    Overview Overview
  7.    Mouse Support Mouse Support
  8.  
  9.    Keys Keys
  10.      Miscellaneous Keys Miscellaneous Keys
  11.      Directory Panels Directory Panels
  12.      Shell Command Line Shell Command Line
  13.      General Movement Keys General Movement Keys
  14.      Input Line Keys Input Line Keys
  15.  
  16.    Menu Bar Menu Bar
  17.      Left and Right Menus Left and Right Menus
  18.        Listing Mode... Listing Mode...
  19.        Sort Order... Sort Order...
  20.        Filter... Filter...
  21.        Reread Reread
  22.      File Menu File Menu
  23.        Quick cd Quick cd
  24.      Command Menu Command Menu
  25.        Directory Tree Directory Tree
  26.        Find File Find File
  27.        External panelize External panelize
  28.        Hotlist Hotlist
  29.        Extension File Edit Extension File Edit
  30.        Background Jobs Background Jobs
  31.        Menu File Edit Menu File Edit
  32.      Options Menu Options Menu
  33.        Configuration Configuration
  34.        Display bits Display bits
  35.        Confirmation Confirmation
  36.        Learn keys Learn keys
  37.        Virtual FS Virtual FS
  38.        Layout Layout
  39.        Save Setup Save Setup
  40.  
  41.    Executing operating system commands Executing operating system commands
  42.      The cd internal command The cd internal command
  43.      Macro Substitution Macro Substitution
  44.      The subshell support The subshell support
  45.      Controlling Midnight Commander Controlling Midnight Commander
  46.    Chmod Chmod
  47.    Chown Chown
  48.    Advanced Chown Advanced Chown
  49.    File Operations File Operations
  50.    Mask Copy/Rename Mask Copy/Rename
  51.    Internal File Viewer Internal File Viewer
  52.    Internal File Editor Internal File Editor
  53.    Completion Completion
  54.    Virtual File System Virtual File System
  55.      FTP File System FTP File System
  56.      Tar File System Tar File System
  57.      FIle transfer over SHell filesystem FIle transfer over SHell filesystem
  58.      Network File System Network File System
  59.      Undelete File System Undelete File System
  60.    Colors Colors
  61.    Special Settings Special Settings
  62.    Terminal databases Terminal databases
  63.  
  64.    FILES FILES
  65.    AVAILABILITY AVAILABILITY
  66.    SEE ALSO SEE ALSO
  67.    AUTHORS AUTHORS
  68.    BUGS BUGS
  69.    License License
  70.    QueryBox QueryBox
  71.    How to use help How to use help
  72. [DESCRIPTION]
  73. DESCRIPTION
  74.  
  75. The Midnight Commander is a directory browser/file manager
  76. for Unix-like operating systems.[OPTIONS]
  77. OPTIONS
  78.  
  79.  
  80. "-a"  Disables the usage of graphic characters for line
  81. drawing.
  82.  
  83. "-b"  Forces black and white display.
  84.  
  85. "-c"  Force color mode, please check the section ColorsColors for
  86. more information.
  87.  
  88. "-C arg"  Used to specify a different color set in the
  89. command line. The format of arg is documented in the
  90. ColorsColors section.
  91.  
  92. "-d"  Disables mouse support.
  93.  
  94. "-f"  Displays the compiled-in search paths for Midnight
  95. Commander files.
  96.  
  97. "-k"  Reset softkeys to their default from the
  98. termcap/terminfo database. Only useful on HP terminals
  99. when the function keys don't work.
  100.  
  101. "-l file"   Save the ftpfs dialog with the server in file.
  102.  
  103. "-P"  At program end, the Midnight Commander will print the
  104. last working directory. This function should not be used
  105. directly, instead, it should be used from a special shell
  106. function that will automatically change the current
  107. directory of the shell to the last directory the Midnight
  108. Commander was in (thanks to Torben Fjerdingstad and Sergey
  109. for contributing this function and the code implementing
  110. this option). Source the files /usr/freeware/lib/mc/bin/mc.sh
  111. (bash and zsh users) respectively
  112. /usr/freeware/lib/mc/bin/mc.csh  (tcsh users) in order to have
  113. this function defined.
  114.  
  115. "-s"  Turns on the slow terminal mode, in this mode the
  116. program will not draw expensive line drawing characters
  117. and will toggle verbose mode off.
  118.  
  119. "-t"  Used only if the code was compiled with Slang and
  120. terminfo: it makes the Midnight Commander use the value of
  121. the TERMCAP  variable for the terminal information instead
  122. of the information on the system wide terminal database
  123.  
  124. "-u"  Disables the use of a concurrent shell (only makes
  125. sense if the Midnight Commander has been built with
  126. concurrent shell support).
  127.  
  128. "-U"  Enables the use of the concurrent shell support (only
  129. makes sense if the Midnight Commander was built with the
  130. subshell support set as an optional feature).
  131.  
  132. "-v file"  Enters the internal viewer to view the file
  133. specified.
  134.  
  135. "-V"  Displays the version of the program.
  136.  
  137. "-x"  Forces xterm mode. Used when running on xterm-capable
  138. terminals (two screen modes, and able to send mouse escape
  139. sequences).
  140.  
  141. If specified, the first path name is the directory to show
  142. in the selected panel; the second path name is the
  143. directory to be shown in the other panel.
  144.  
  145. [Overview]
  146. Overview
  147.  
  148. The screen of the Midnight Commander is divided into four
  149. parts. Almost all of the screen space is taken up by two
  150. directory panels. By default, the second bottommost line
  151. of the screen is the shell command line, and the bottom
  152. line shows the function key labels. The topmost line is
  153. the menu bar line.Menu Bar The menu bar line may not be visible,
  154. but appears if you click the topmost line with the mouse
  155. or press the F9 key.
  156.  
  157. The Midnight Commander provides a view of two directories
  158. at the same time. One of the panels is the current panel
  159. (a selection bar is in the current panel). Almost all
  160. operations take place on the current panel. Some file
  161. operations like Rename and Copy by default use the
  162. directory of the unselected panel as a destination (don't
  163. worry, they always ask you for confirmation first). For
  164. more information, see the sections on the Directory
  165. Panels,Directory Panels the Left and Right MenusLeft and Right Menus and the File Menu.File Menu
  166.  
  167. You can execute system commands from the Midnight
  168. Commander by simply typing them. Everything you type will
  169. appear on the shell command line, and when you press Enter
  170. the Midnight Commander will execute the command line you
  171. typed; read the Shell Command LineShell Command Line and Input Line KeysInput Line Keys
  172. sections to learn more about the command line.
  173.  
  174. [Mouse Support]
  175. Mouse Support
  176.  
  177. The Midnight Commander comes with mouse support. It is
  178. activated whenever you are running on an xterm(1)  terminal
  179. (it even works if you take a telnet or rlogin connection
  180. to another machine from the xterm) or if you are running
  181. on a Linux console and have the gpm  mouse server running.
  182.  
  183. When you left click on a file in the directory panels,
  184. that file is selected; if you click with the right button,
  185. the file is marked (or unmarked, depending on the previous
  186. state).
  187.  
  188. Double-clicking on a file will try to execute the command
  189. if it is an executable program; and if the extension fileExtension File
  190. Edithas a program specified for the file's extension, the
  191. specified program is executed.
  192.  
  193. Also, it is possible to execute the commands assigned to
  194. the function key labels by clicking on them.
  195.  
  196. If a mouse button is clicked on the top frame line of the
  197. directory panel, it is scrolled one pageful backward.
  198. Correspondingly, a click on the bottom frame line will
  199. cause a scroll of one pageful forward. This frame line
  200. method works also in the Help ViewerContents and the Directory
  201. Tree.Directory Tree
  202.  
  203. The default auto repeat rate for the mouse buttons is 400
  204. milliseconds. This may be changed to other values by
  205. editing the ~/.mc/iniSave Setup file and changing the
  206. mouse_repeat_rate  parameter.
  207.  
  208. If you are running the Commander with the mouse support,
  209. you can bypass the Commander and get the default mouse
  210. behavior (cutting and pasting text) by holding down the
  211. Shift key.[]
  212.  
  213.  
  214. [Keys]
  215. Keys
  216.  
  217. Some commands in the Midnight Commander involve the use of
  218. the Control  (sometimes labeled CTRL or CTL) and the Meta
  219. (sometimes labeled ALT or even Compose) keys. In this
  220. manual we will use the following abbreviations:
  221.  
  222. C-<chr> means hold the Control key while typing the
  223. character <chr>. Thus C-f would be: hold the Control key
  224. and type f.
  225.  
  226. M-<chr> means hold the Meta or Alt key down while typing
  227. <chr>. If there is no Meta or Alt key, type ESC, release
  228. it, then type the character <chr>.
  229.  
  230. All input lines in the Midnight Commander use an
  231. approximation to the GNU Emacs editor's key bindings.
  232.  
  233. There are many sections which tell about the keys. The
  234. following are the most important.
  235.  
  236. The File MenuFile Menu section documents the keyboard shortcuts
  237. for the commands appearing in the File menu. This section
  238. includes the function keys. Most of these commands perform
  239. some action, usually on the selected file or the tagged
  240. files.
  241.  
  242. The Directory PanelsDirectory Panels section documents the keys which
  243. select a file or tag files as a target for a later action
  244. (the action is usually one from the file menu).
  245.  
  246. The Shell Command LineShell Command Line section list the keys which are
  247. used for entering and editing command lines. Most of these
  248. copy file names and such from the directory panels to the
  249. command line (to avoid excessive typing) or access the
  250. command line history.
  251.  
  252. Input Line KeysInput Line Keys are used for editing input lines. This
  253. means both the command line and the input lines in the
  254. query dialogs.
  255.  
  256. [Miscellaneous Keys]
  257. Miscellaneous Keys
  258.  
  259. Here are some keys which don't fall into any of the other
  260. categories:
  261.  
  262. Enter.  If there is some text in the command line (the one
  263. at the bottom of the panels), then that command is
  264. executed. If there is no text in the command line then if
  265. the selection bar is over a directory the Midnight
  266. Commander does a chdir(2)  to the selected directory and
  267. reloads the information on the panel; if the selection is
  268. an executable file then it is executed. Finally, if the
  269. extension of the selected file name matches one of the
  270. extensions in the extensions fileExtension File Edit then the corresponding
  271. command is executed.
  272.  
  273. C-l.  Repaint all the information in the Midnight
  274. Commander.
  275.  
  276. C-x c.  Run the ChmodChmod command on a file or on the tagged
  277. files.
  278.  
  279. C-x o.  Run the ChownChown command on the current file or on the
  280. tagged files.
  281.  
  282. C-x l.  Run the link command.
  283.  
  284. C-x s.  Run the symbolic link command.
  285.  
  286. C-x i.  Set the other panel display mode to information.
  287.  
  288. C-x q.  Set the other panel display mode to quick view.
  289.  
  290. C-x !.  Execute the External panelizeExternal panelize command.
  291.  
  292. C-x h  Run the add directory to hotlistHotlist command.
  293.  
  294. M-!,  Executes the Filtered view command, described in the
  295. view command.Internal File Viewer
  296.  
  297. M-?,  Executes the Find fileFind File command.
  298.  
  299. M-c,  Pops up the quick cdQuick cd dialog.
  300.  
  301. C-o,  When the program is being run in the Linux or SCO
  302. console or under an xterm, it will show you the output of
  303. the previous command. When ran on the Linux console, the
  304. Midnight Commander uses an external program (cons.saver)
  305. to handle saving and restoring of information on the
  306. screen.
  307.  
  308. When the subshell support is compiled in, you can type C-o
  309. at any time and you will be taken back to the Midnight
  310. Commander main screen, to return to your application just
  311. type C-o. If you have an application suspended by using
  312. this trick, you won't be able to execute other programs
  313. from the Midnight Commander until you terminate the
  314. suspended application.
  315.  
  316. [Directory Panels]
  317. Directory Panels
  318.  
  319. This section lists the keys which operate on the directory
  320. panels. If you want to know how to change the appearance
  321. of the panels take a look at the section on Left and Right
  322. Menus.Left and Right Menus
  323.  
  324. Tab, C-i.  Change the current panel. The old other panel
  325. becomes the new current panel and the old current panel
  326. becomes the new other panel. The selection bar moves from
  327. the old current panel to the new current panel.
  328.  
  329. Insert, C-t.  To tag files you may use the Insert key (the
  330. kich1 terminfo sequence) or the C-t (Control-t) sequence.
  331. To untag files, just retag a tagged file.
  332.  
  333. M-g, M-h (or M-r), M-j.  Used to select the top file in a
  334. panel, the middle file and the bottom one, respectively.
  335.  
  336. C-s, M-s.  Start a filename search in the directory
  337. listing. When the search is active the keypresses will be
  338. added to the search string instead of the command line. If
  339. the "Show mini-status"  option is enabled the search string
  340. is shown on the mini-status line. When typing, the
  341. selection bar will move to the next file starting with the
  342. typed letters. The "backspace" or DEL   keys can be used to
  343. correct typing mistakes. If C-s is pressed again, the next
  344. match is searched for.
  345.  
  346. M-t  Toggle the current display listing to show the next
  347. display listing mode. With this it is possible to quickly
  348. switch from long listing to regular listing and the user
  349. defined listing mode.
  350.  
  351. C-\\ (control-backslash).  Show the directory hotlistHotlist and
  352. change to the selected directory.
  353.  
  354. +  (plus).  This is used to select (tag) a group of files.
  355. The Midnight Commander will prompt for a regular
  356. expression describing the group. When Shell Patterns   are
  357. enabled, the regular expression is much like the regular
  358. expressions in the shell (* standing for zero or more
  359. characters and ? standing for one character). If Shell
  360. Patterns  is off, then the tagging of files is done with
  361. normal regular expressions (see ed (1)).
  362.  
  363. If the expression starts or ends with a slash (/), then it
  364. will select directories instead of files.
  365.  
  366. \\ (backslash).  Use the "\" key to unselect a group of
  367. files. This is the opposite of the Plus key.
  368.  
  369. up-key, C-p.  Move the selection bar to the previous entry
  370. in the panel.
  371.  
  372. down-key, C-n.  Move the selection bar to the next entry in
  373. the panel.
  374.  
  375. home, a1, M-<.  Move the selection bar to the first entry
  376. in the panel.
  377.  
  378. end, c1, M->.  Move the selection bar to the last entry in
  379. the panel.
  380.  
  381. next-page, C-v.  Move the selection bar one page down.
  382.  
  383. prev-page, M-v.  Move the selection bar one page up.
  384.  
  385. M-o,  If the other panel is a listing panel and you are
  386. standing on a directory in the current panel, then the
  387. other panel contents are set to the contents of the
  388. currently selected directory (like Emacs' dired C-o key)
  389. otherwise the other panel contents are set to the parent
  390. dir of the current dir.
  391.  
  392. C-PageUp, C-PageDown  Only when ran on the Linux console:
  393. does a chdir to ".." and to the currently selected
  394. directory respectively.
  395.  
  396. M-y  Moves to the previous directory in the history,
  397. equivalent to depressing the '<' with the mouse.
  398.  
  399. M-u  Moves to the next directory in the history, equivalent
  400. to depressing the '>' with the mouse. Displays the
  401. directory history, equivalent to depressing the 'v' with
  402. the mouse.
  403.  
  404. [Shell Command Line]
  405. Shell Command Line
  406.  
  407. This section lists keys which are useful to avoid
  408. excessive typing when entering shell commands.
  409.  
  410. M-Enter.  Copy the currently selected file name to the
  411. command line.
  412.  
  413. C-Enter.  Same a M-Enter, this one only works on the Linux
  414. console.
  415.  
  416. M-Tab.  Does the filename, command, variable, username and
  417. hostname completionCompletion for you.
  418.  
  419. C-x t, C-x C-t.  Copy the tagged files (or if there are no
  420. tagged files, the selected file) of the current panel (C-x
  421. t) or of the other panel (C-x C-t) to the command line.
  422.  
  423. C-x p, C-x C-p.   The first key sequence copies the current
  424. path name to the command line, and the second one copies
  425. the unselected panel's path name to the command line.
  426.  
  427. C-q.  The quote command can be used to insert characters
  428. that are otherwise interpreted by the Midnight Commander
  429. (like the '+' symbol)
  430.  
  431. M-p, M-n.  Use these keys to browse through the command
  432. history. M-p takes you to the last entry, M-n takes you to
  433. the next one.
  434.  
  435. M-h.  Displays the history for the current input line.
  436.  
  437. [General Movement Keys]
  438. General Movement Keys
  439.  
  440. The help viewer, the file viewer and the directory tree
  441. use common code to handle moving. Therefore they accept
  442. exactly the same keys. Each of them also accepts some keys
  443. of its own.
  444.  
  445. Other parts of the Midnight Commander use some of the same
  446. movement keys, so this section may be of use for those
  447. parts too.
  448.  
  449. Up, C-p.  Moves one line backward.
  450.  
  451. Down, C-n.  Moves one line forward.
  452.  
  453. Prev Page, Page Up, M-v.  Moves one pageful backward.
  454.  
  455. Next Page, Page Down, C-v.  Moves one pageful forward.
  456.  
  457. Home, A1.  Moves to the beginning.
  458.  
  459. End, C1.  Move to the end.
  460.  
  461. The help viewer and the file viewer accept the following
  462. keys in addition the to ones mentioned above:
  463.  
  464. b, C-b, C-h, Backspace, Delete.  Moves one pageful
  465. backward.
  466.  
  467. Space bar.  Moves one pageful forward.
  468.  
  469. u, d.  Moves one half of a page backward or forward.
  470.  
  471. g, G.  Moves to the beginning or to the end.
  472.  
  473. [Input Line Keys]
  474. Input Line Keys
  475.  
  476. The input lines (they are used for the command lineShell Command Line and
  477. for the query dialogs in the program) accept these keys:
  478.  
  479. C-a  puts the cursor at the beginning of line.
  480.  
  481. C-e  puts the cursor at the end of the line.
  482.  
  483. C-b, move-left  move the cursor one position left.
  484.  
  485. C-f, move-right  move the cursor one position right.
  486.  
  487. M-f  moves one word forward.
  488.  
  489. M-b  moves one word backward.
  490.  
  491. C-h, backspace  delete the previous character.
  492.  
  493. C-d, Delete  delete the character in the point (over the
  494. cursor).
  495.  
  496. C-@  sets the mark for cutting.
  497.  
  498. C-w  copies the text between the cursor and the mark to a
  499. kill buffer and removes the text from the input line.
  500.  
  501. M-w  copies the text between the cursor and the mark to a
  502. kill buffer.
  503.  
  504. C-y  yanks back the contents of the kill buffer.
  505.  
  506. C-k  kills the text from the cursor to the end of the line.
  507.  
  508. M-p, M-n  Use these keys to browse through the command
  509. history. M-p takes you to the last entry, M-n takes you to
  510. the next one.
  511.  
  512. M-C-h, M-Backspace  delete one word backward.
  513.  
  514. M-Tab  does the filename, command, variable, username and
  515. hostname completionCompletion for you.
  516.  
  517. []
  518.  
  519.  
  520. [Menu Bar]
  521. Menu Bar
  522.  
  523. The menu bar pops up when you press F9 or click the mouse
  524. on the top row of the screen. The menu bar has five menus:
  525. "Left", "File", "Command", "Options" and "Right".
  526.  
  527. The Left and Right MenusLeft and Right Menus allow you to modify the
  528. appearance of the left and right directory panels.
  529.  
  530. The File MenuFile Menu lists the actions you can perform on the
  531. currently selected file or the tagged files.
  532.  
  533. The Command MenuCommand Menu lists the actions which are more general
  534. and bear no relation to the currently selected file or the
  535. tagged files.
  536.  
  537. The Options MenuOptions Menu lists the actions which allow you to
  538. customize the Midnight Commander.
  539.  
  540. [Left and Right Menus]
  541. Left and Right Menus
  542.  
  543. The outlook of the directory panels can be changed from
  544. the "Left"  and "Right"  menus.
  545.  
  546. [Listing Mode...]
  547. Listing Mode...
  548.  
  549. The listing mode view is used to display a listing of
  550. files, there are four different listing modes available:
  551. Full,  Brief,  Long,  and User.  The full directory view shows
  552. the file name, the size of the file and the modification
  553. time.
  554.  
  555. The brief view shows only the file name and it has two
  556. columns (therefore showing twice as many files as other
  557. views). The long view is similar to the output of "ls -l"
  558. command. The long view takes the whole screen width.
  559.  
  560. If you choose the "User" display format, then you have to
  561. specify the display format.
  562.  
  563. The user display format must start with a panel size
  564. specifier. This may be "half" or "full", and they specify
  565. a half screen panel and a full screen panel respectively.
  566.  
  567. After the panel size, you may specify the two columns mode
  568. on the panel, this is done by adding the number "2" to the
  569. user format string.
  570.  
  571. After this you add the name of the fields with an optional
  572. size specifier. This are the available fields you may
  573. display:
  574.  
  575. name,  displays the file name.
  576.  
  577. size,  displays the file size.
  578.  
  579. bsize,  is an alternative form of the size  format. It
  580. displays the size of the files and for directories it just
  581. shows SUB-DIR or UP--DIR.
  582.  
  583. type,  displays a one character field type. This character
  584. is a superset of what is displayed by ls with the -F flag.
  585. An asterisk for executable files, a slash for directories,
  586. an at-sign for links, an equal sign for sockets, a hyphen
  587. for character devices, a plus sign for block devices, a
  588. pipe for fifos, a tilde for symbolic links to directories
  589. and an exclamation mark for stalled symlinks (links that
  590. point nowhere).
  591.  
  592. mtime,  file's last modification time.
  593.  
  594. atime,  file's last access time.
  595.  
  596. ctime,  file's creation time.
  597.  
  598. perm,  a string representing the current permission bits of
  599. the file.
  600.  
  601. mode,  an octal value with the current permission bits of
  602. the file.
  603.  
  604. nlink,  the number of links to the file.
  605.  
  606. ngid,  the GID (numeric).
  607.  
  608. nuid,  the UID (numeric).
  609.  
  610. owner,  the owner of the file.
  611.  
  612. group,  the group of the file.
  613.  
  614. inode,  the inode of the file.
  615.  
  616. Also you may use these field names for arranging the
  617. display:
  618.  
  619. space,  a space in the display format.
  620.  
  621. mark,  An asterisk if the file is tagged, a space if it's
  622. not.
  623.  
  624. |,  This character is used to add a vertical line to the
  625. display format.
  626.  
  627. To force one field to a fixed size (a size specifier), you
  628. just add a ':' and then the number of characters you want
  629. the field to have, if the number is followed by the symbol
  630. '+', then the size specifies the minimum field size, if
  631. the program finds out that there is more space on the
  632. screen, it will then expand this field.
  633.  
  634. For example, the Full  display corresponds to this format:
  635.  
  636. half type,name,|,size,|,mtime
  637.  
  638. And the Long  display corresponds to this format:
  639.  
  640. full
  641. perm,space,nlink,space,owner,space,group,space,size,space,
  642. mtime,space,name
  643.  
  644. This is a nice user display format:
  645.  
  646. half name,|,size:7,|,type,mode:3
  647.  
  648. Panels may also be set to the following modes:
  649.  
  650. "Info"  The info view display information related to the
  651. currently selected file and if possible information about
  652. the current file system.
  653.  
  654. "Tree"   The tree view is quite similar to the directory
  655. treeDirectory Tree feature. See the section about it for more
  656. information.
  657.  
  658. "Quick View"  In this mode, the panel will switch to a
  659. reduced viewerInternal File Viewer that displays the contents of the
  660. currently selected file, if you select the panel (with the
  661. tab key or the mouse), you will have access to the usual
  662. viewer commands.
  663.  
  664. [Sort Order...]
  665. Sort Order...
  666.  
  667. The eight sort orders are by name, by extension, by
  668. modification time, by access time, and by inode
  669. information modification time, by size, by inode and
  670. unsorted. In the Sort order dialog box you can choose the
  671. sort order and you may also specify if you want to sort in
  672. reverse order by checking the reverse box.
  673.  
  674. By default directories are sorted before files but this
  675. can be changed from the Options menuOptions Menu (option "Mix all
  676. files"  ).
  677.  
  678. [Filter...]
  679. Filter...
  680.  
  681. The filter command allows you to specify a shell pattern
  682. (for example "*.tar.gz"  ) which the files must match to be
  683. shown. Regardless of the filter pattern, the directories
  684. and the links to directories are always shown in the
  685. directory panel.
  686.  
  687. [Reread]
  688. Reread
  689.  
  690. The reread command reload the list of files in the
  691. directory. It is useful if other processes have created or
  692. removed files. If you have panelized file names in a panel
  693. this will reload the directory contents and remove the
  694. panelized information (See the section External panelizeExternal panelize
  695. for more information).
  696.  
  697. [File Menu]
  698. File Menu
  699.  
  700. The Midnight Commander uses the F1 - F10 keys as keyboard
  701. shortcuts for commands appearing in the file menu. The
  702. escape sequences for the Fkeys are terminfo capabilities
  703. kf1 trough kf10. On terminals without function key
  704. support, you can achieve the same functionality by
  705. pressing the ESC key and then a number in the range 1
  706. through 9 and 0 (corresponding to F1 to F9 and F10
  707. respectively).
  708.  
  709. The File menu has the following commands (keyboard
  710. shortcuts in parentheses):
  711.  
  712. Help (F1)
  713.  
  714. Invokes the built-in hypertext help viewer. Inside the
  715. help viewer,Contents you can use the Tab key to select the next
  716. link and the Enter key to follow that link. The keys Space
  717. and Backspace are used to move forward and backward in a
  718. help page. Press F1 again to get the full list of accepted
  719. keys.
  720.  
  721. Menu (F2)
  722.  
  723. Invoke the user menu.Menu File Edit The user menu provides an easy way
  724. to provide users with a menu and add extra features to the
  725. Midnight Commander.
  726.  
  727. View (F3, Shift-F3)
  728.  
  729. View the currently selected file. By default this invokes
  730. the Internal File ViewerInternal File Viewer but if the option "Use internal
  731. view" is off, it invokes an external file viewer specified
  732. by the PAGER   environment variable. If PAGER  is undefined,
  733. the "view" command is invoked. If you use Shift-F3
  734. instead, the viewer will be invoked without doing any
  735. formatting or preprocessing to the file.
  736.  
  737. Filtered View (M-!)
  738.  
  739. this command prompts for a command and it's arguments (the
  740. argument defaults to the currently selected file name),
  741. the output from such command is shown in the internal file
  742. viewer.
  743.  
  744. Edit (F4)
  745.  
  746. Currently it invokes the vi   editor, or the editor
  747. specified in the EDITOR  environment variable, or the
  748. Internal File EditorInternal File Editor if the use_internal_edit option is
  749. on.
  750.  
  751. Copy (F5)
  752.  
  753. Pop up an input dialog with destination that defaults to
  754. the directory in the non-selected panel and copies the
  755. currently selected file (or the tagged files, if there is
  756. at least one file tagged) to the directory specified by
  757. the user in the input dialog. During this process, you can
  758. press C-c or ESC to abort the operation. For details about
  759. source mask (which will be usually either * or ^\(.*\)$
  760. depending on setting of Use shell patterns) and possible
  761. wildcards in the destination see Mask copy/rename.Mask Copy/Rename
  762.  
  763. On some systems, it is possible to do the copy in the
  764. background by clicking on the background button (or
  765. pressing M-b in the dialog box). The Background JobsBackground Jobs is
  766. used to control the background process.
  767.  
  768. Link (C-x l)
  769.  
  770. Create a hard link to the current file.
  771.  
  772. SymLink (C-x s)
  773.  
  774. Create a symbolic link to the current file. To those of
  775. you who don't know what links are: creating a link to a
  776. file is a bit like copying the file, but both the source
  777. filename and the destination filename represent the same
  778. file image. For example, if you edit one of these files,
  779. all changes you make will appear in both files. Some
  780. people call links aliases or shortcuts.
  781.  
  782. A hard link appears as a real file. After making it, there
  783. is no way of telling which one is the original and which
  784. is the link. If you delete either one of them the other
  785. one is still intact. It is very difficult to notice that
  786. the files represent the same image. Use hard links when
  787. you don't even want to know.
  788.  
  789. A symbolic link is a reference to the name of the original
  790. file. If the original file is deleted the symbolic link is
  791. useless. It is quite easy to notice that the files
  792. represent the same image. The Midnight Commander shows an
  793. "@"-sign in front of the file name if it is a symbolic
  794. link to somewhere (except to directory, where it shows a
  795. tilde (~)). The original file which the link points to is
  796. shown on mini-status line if the "Show mini-status"  option
  797. is enabled. Use symbolic links when you want to avoid the
  798. confusion that can be caused by hard links.
  799.  
  800. Rename/Move (F6)
  801.  
  802. Pop up an input dialog that defaults to the directory in
  803. the non-selected panel and moves the currently selected
  804. file (or the tagged files if there is at least one tagged
  805. file) to the directory specified by the user in the input
  806. dialog. During the process, you can press C-c or ESC to
  807. abort the operation. For more details look at Copy
  808. operation above, most of the things are quite similar.
  809.  
  810. On some systems, it is possible to do the copy in the
  811. background by clicking on the background button (or
  812. pressing M-b in the dialog box). The Background JobsBackground Jobs is
  813. used to control the background process.
  814.  
  815. Mkdir (F7)
  816.  
  817. Pop up an input dialog and creates the directory
  818. specified.
  819.  
  820. Delete (F8)
  821.  
  822. Delete the currently selected file or the tagged files in
  823. the currently selected panel. During the process, you can
  824. press C-c or ESC to abort the operation.
  825.  
  826. Quick cd (M-c)  Use the quick cdQuick cd command if you have full
  827. command line and want to cd somewhere.
  828.  
  829. Select group (+)
  830.  
  831. This is used to select (tag) a group of files. The
  832. Midnight Commander will prompt for a regular expression
  833. describing the group. When Shell Patterns   are enabled,
  834. the regular expression is much like the filename globbing
  835. in the shell (* standing for zero or more characters and ?
  836. standing for one character). If Shell Patterns  is off,
  837. then the tagging of files is done with normal regular
  838. expressions (see ed (1)).
  839.  
  840. To mark directories instead of files, the expression must
  841. start or end with a '/'.
  842.  
  843. Unselect group (\\)
  844.  
  845. Used for unselecting a group of files. This is the
  846. opposite of the "Select group"  command.
  847.  
  848. Quit (F10, Shift-F10)
  849.  
  850. Terminate the Midnight Commander. Shift-F10 is used when
  851. you want to quit and you are using the shell wrapper.
  852. Shift-F10 will not take you to the last directory you
  853. visited with the Midnight Commander, instead it will stay
  854. at the directory where you started the Midnight Commander.
  855.  
  856. [Quick cd]
  857. Quick cd
  858.  
  859. This command is useful if you have a full command line and
  860. want to cdThe cd internal command somewhere without having to yank and paste
  861. the command line. This command pops up a small dialog,
  862. where you enter everything you would enter after cd   on
  863. the command line and then you press enter. This features
  864. all the things that are already in the internal cd
  865. command.The cd internal command
  866.  
  867. [Command Menu]
  868. Command Menu
  869.  
  870. The Directory treeDirectory Tree command shows a tree figure of the
  871. directories.
  872.  
  873. The Find fileFind File command allows you to search for a specific
  874. file. The "Swap panels" command swaps the contents of the
  875. two directory panels.
  876.  
  877. The "Panels on/off" command shows the output of the last
  878. shell command. This works only on xterm and on Linux and
  879. SCO console.
  880.  
  881. The Compare directories (C-x d) command compares the
  882. directory panels with each other. You can then use the
  883. Copy (F5) command to make the panels identical. There are
  884. three compare methods. The quick method compares only file
  885. size and file date. The thorough method makes a full
  886. byte-by-byte compare. The thorough method is not available
  887. if the machine does not support the mmap(2) system call.
  888. The size-only compare method just compares the file sizes
  889. and does not check the contents or the date times, it just
  890. checks the file size.
  891.  
  892. The Command history command shows a list of typed
  893. commands. The selected command is copied to the command
  894. line. The command history can also be accessed by typing
  895. M-p or M-n.
  896.  
  897. The Directory hotlist (C-\)Hotlist command makes changing of the
  898. current directory to often used directories faster.
  899.  
  900. The External panelizeExternal panelize allows you to execute an external
  901. program, and make the output of that program the contents
  902. of the current panel.
  903.  
  904. Extension file editExtension File Edit command allows you to specify
  905. programs to executed when you try to execute, view, edit
  906. and do a bunch of other thing on files with certain
  907. extensions (filename endings). The Menu file editMenu File Edit
  908. command may be used for editing the user menu (which
  909. appears by pressing F2).
  910.  
  911. [Directory Tree]
  912. Directory Tree
  913.  
  914. The Directory Tree command shows a tree figure of the
  915. directories. You can select a directory from the figure
  916. and the Midnight Commander will change to that directory.
  917.  
  918. There are two ways to invoke the tree. The real directory
  919. tree command is available from Commands menu. The other
  920. way is to select tree view from the Left or Right menu.
  921.  
  922. To get rid of long delays the Midnight Commander creates
  923. the tree figure by scanning only a small subset of all the
  924. directories. If the directory which you want to see is
  925. missing, move to its parent directory and press C-r (or
  926. F2).
  927.  
  928. You can use the following keys:
  929.  
  930. General movement keysGeneral Movement Keys are accepted.
  931.  
  932. Enter.  In the directory tree, exits the directory tree and
  933. changes to this directory in the current panel. In the
  934. tree view, changes to this directory in the other panel
  935. and stays in tree view mode in the current panel.
  936.  
  937. C-r, F2 (Rescan).  Rescan this directory. Use this when the
  938. tree figure is out of date: it is missing subdirectories
  939. or shows some subdirectories which don't exist any more.
  940.  
  941. F3 (Forget).  Delete this directory from the tree figure.
  942. Use this to remove clutter from the figure. If you want
  943. the directory back to the tree figure press F2 in its
  944. parent directory.
  945.  
  946. F4 (Static/Dynamic).  Toggle between the dynamic navigation
  947. mode (default) and the static navigation mode.
  948.  
  949. In the static navigation mode you can use the Up and Down
  950. keys to select a directory. All known directories are
  951. shown.
  952.  
  953. In the dynamic navigation mode you can use the Up and Down
  954. keys to select a sibling directory, the Left key to move
  955. to the parent directory, and the Right key to move to a
  956. child directory. Only the parent, sibling and children
  957. directories are shown, others are left out. The tree
  958. figure changes dynamically as you traverse.
  959.  
  960. F5 (Copy).  Copy the directory.
  961.  
  962. F6 (RenMov).  Move the directory.
  963.  
  964. F7 (Mkdir).  Make a new directory below this directory.
  965.  
  966. F8 (Delete).  Delete this directory from the file system.
  967.  
  968. C-s, M-s.  Search the next directory matching the search
  969. string. If there is no such directory these keys will move
  970. one line down.
  971.  
  972. C-h, Backspace.  Delete the last character of the search
  973. string.
  974.  
  975. Any other character.  Add the character to the search
  976. string and move to the next directory which starts with
  977. these characters. In the tree view you must first activate
  978. the search mode by pressing C-s. The search string is
  979. shown in the mini status line.
  980.  
  981. The following actions are available only in the directory
  982. tree. They aren't supported in the tree view.
  983.  
  984. F1 (Help).  Invoke the help viewer and show this section.
  985.  
  986. Esc, F10.  Exit the directory tree. Do not change the
  987. directory.
  988.  
  989. The mouse is supported. A double-click behaves like Enter.
  990. See also the section on mouse support.Mouse Support
  991.  
  992. [Find File]
  993. Find File
  994.  
  995. The Find File feature first asks for the start directory
  996. for the search and the filename to be searched for. By
  997. pressing the Tree button you can select the start
  998. directory from the directory treeDirectory Tree figure.
  999.  
  1000. The contents field accepts regular expressions similar to
  1001. egrep(1). That means you have to escape characters with a
  1002. special meaning to egrep with "\", e.g. if you search for
  1003. "strcmp (" you will have to input "strcmp \(" (without the
  1004. double quotes).
  1005.  
  1006. You can start the search by pressing the Ok button. During
  1007. the search you can stop from the Stop button and continue
  1008. from the Start button.
  1009.  
  1010. You can browse the filelist with the up and down arrow
  1011. keys. The Chdir button will change to the directory of the
  1012. currently selected file. The Again button will ask for the
  1013. parameters for a new search. The Quit button quits the
  1014. search operation. The Panelize button will place the found
  1015. files to the current directory panel so that you can do
  1016. additional operations on them (view, copy, move, delete
  1017. and so on). After panelizing you can press C-r to return
  1018. to the normal file listing.
  1019.  
  1020. It is possible to have a list of directories that the Find
  1021. File command should skip during the search (for example,
  1022. you may want to avoid searches on a CDROM or on a NFS
  1023. directory that is mounted across a slow link).
  1024.  
  1025. Directories to be skipped should be set on the variable
  1026. find_ignore_dirs   in the Misc   section of your ~/.mc/ini
  1027. file.
  1028.  
  1029. Directory components should be separated with a colon,
  1030. here is an example:
  1031.  
  1032. [Misc]
  1033. find_ignore_dirs=/cdrom:/nfs/wuarchive:/afs
  1034.  
  1035. You may consider using the External panelizeExternal panelize command for
  1036. some operations. Find file command is for simple queries
  1037. only, while using External panelize you can do as
  1038. mysterious searches as you would like.
  1039.  
  1040. [External panelize]
  1041. External panelize
  1042.  
  1043. The External panelize allows you to execute an external
  1044. program, and make the output of that program the contents
  1045. of the current panel.
  1046.  
  1047. For example, if you want to manipulate in one of the
  1048. panels all the symbolic links in the current directory,
  1049. you can use external panelization to run the following
  1050. command:
  1051.  
  1052. find . -type l -print
  1053. Upon command completion, the directory contents of the
  1054. panel will no longer be the directory listing of the
  1055. current directory, but all the files that are symbolic
  1056. links.
  1057.  
  1058. If you want to panelize all of the files that have been
  1059. downloaded from your ftp server, you can use this awk
  1060. command to extract the file name from the transfer log
  1061. files:
  1062.  
  1063. awk '$9 ~! /incoming/ { print $9 }' < /usr/adm/xferlog
  1064.  
  1065. You may want to save often used panelize commands under a
  1066. descriptive name, so that you can recall them quickly. You
  1067. do this by typing the command on the input line and
  1068. pressing Add new button. Then you enter a name under which
  1069. you want the command to be saved. Next time, you just
  1070. choose that command from the list and do not have to type
  1071. it again.
  1072.  
  1073. [Hotlist]
  1074. Hotlist
  1075.  
  1076. The Directory hotlist command shows the labels of the
  1077. directories in the directory hotlist. The Midnight
  1078. Commander will change to the directory corresponding to
  1079. the selected label. From the hotlist dialog, you can
  1080. remove already created label/directory pairs and add new
  1081. one. For adding you may want to use a standalone Add to
  1082. hotlist command (C-x h), which adds the current directory
  1083. into the directory hotlist, as well. The user is prompted
  1084. for a label for the directory.
  1085.  
  1086. This makes cd to often used directories faster. You may
  1087. consider using the CDPATH variable as described in
  1088. internal cd commandThe cd internal command description.
  1089.  
  1090. [Extension File Edit]
  1091. Extension File Edit
  1092.  
  1093. This will invoke your editor on the file ~/.mc/ext. The
  1094. format of this file is as follows (the format has changed
  1095. with version 3.0):
  1096.  
  1097. All lines starting with # or empty lines are thrown away.
  1098.  
  1099. Lines starting in the first column should have following
  1100. format:
  1101.  
  1102. keyword/descNL,  i.e. everything after keyword/  until new
  1103. line is desc
  1104.  
  1105. keyword can be:
  1106.  
  1107. shell  (desc is then any extension (no wildcards), i.e.
  1108. matches all the files *desc . Example: .tar matches *.tar)
  1109.  
  1110. regex  (desc is a regular expression)
  1111.  
  1112. type  (file matches this if `file %f` matches regular
  1113. expression desc (the filename: part from `file %f` is
  1114. removed))
  1115.  
  1116. default  (matches any file no matter what desc is)
  1117.  
  1118. Other lines should start with a space or tab and should be
  1119. of the format:
  1120.  
  1121. keyword=commandNL  (with no spaces around =), where keyword
  1122. should be:
  1123.  
  1124. Open  (if the user presses Enter or doubleclicks it), View
  1125. (F3), Edit  (F4), Drop  (user drops some files on it) or any
  1126. other user defined name (those will be listed in the
  1127. extension dependent pop-up menu). Icon  name is reserved
  1128. for future use by mc.
  1129.  
  1130. command  is any one-line shell command, with the simple
  1131. macro substitution.Macro Substitution
  1132.  
  1133. Target are evaluated from top to bottom (order is thus
  1134. important). If some actions are missing, search continues
  1135. as if this target didn't match (i.e. if a file matches the
  1136. first and second entry and View action is missing in the
  1137. first one, then on pressing F3 the View action from the
  1138. second entry will be used. default should catch all the
  1139. actions.
  1140.  
  1141. [Background Jobs]
  1142. Background Jobs
  1143.  
  1144. This lets you control the state of any background Midnight
  1145. Commander process (only copy and move files operations can
  1146. be done in the background). You can stop, restart and kill
  1147. a background job from here.
  1148.  
  1149. [Menu File Edit]
  1150. Menu File Edit
  1151.  
  1152. The user menu is a menu of useful actions that can be
  1153. customized by the user. When you access the user menu, the
  1154. file .mc.menu from the current directory is used if it
  1155. exists, but only if it is owned by user or root and is not
  1156. world-writable. If no such file found, ~/.mc/menu is tried
  1157. in the same way, and otherwise mc uses the default
  1158. system-wide menu /usr/freeware/lib/mc/mc.menu.
  1159.  
  1160. The format of the menu file is very simple. Lines that
  1161. start with anything but space or tab are considered
  1162. entries for the menu (in order to be able to use it like a
  1163. hot key, the first character should be a letter). All the
  1164. lines that start with a space or a tab are the commands
  1165. that will be executed when the entry is selected.
  1166.  
  1167. When an option is selected all the command lines of the
  1168. option are copied to a temporary file in the temporary
  1169. directory (usually /usr/tmp) and then that file is
  1170. executed. This allows the user to put normal shell
  1171. constructs in the menus. Also simple macro substitution
  1172. takes place before executing the menu code. For more
  1173. information, see macro substitution.Macro Substitution
  1174.  
  1175. Here is a sample mc.menu file:
  1176.  
  1177. A    Dump the currently selected file
  1178.     od -c %f
  1179.  
  1180. B    Edit a bug report and send it to root
  1181.     vi /tmp/mail.$$
  1182.     mail -s "Midnight Commander bug" root < /tmp/mail.$$
  1183.  
  1184. M    Read mail
  1185.     emacs -f rmail
  1186.  
  1187. N    Read Usenet news
  1188.     emacs -f gnus
  1189.  
  1190. H    Call the info hypertext browser
  1191.     info
  1192.  
  1193. J    Copy current directory to other panel recursively
  1194.     tar cf - . | (cd %D && tar xvpf -)
  1195.  
  1196. K    Make a release of the current subdirectory
  1197.     echo -n "Name of distribution file: "
  1198.     read tar
  1199.     ln -s %d `dirname %d`/$tar 
  1200.     cd ..
  1201.     tar cvhf ${tar}.tar $tar
  1202.  
  1203. = f *.tar.gz | f *.tgz & t n
  1204. X       Extract the contents of a compressed tar file
  1205.     tar xzvf %f
  1206.  
  1207. Default Conditions
  1208.  
  1209. Each menu entry may be preceded by a condition. The
  1210. condition must start from the first column with a '='
  1211. character. If the condition is true, the menu entry will
  1212. be the default entry.
  1213.  
  1214. Condition syntax:     = <sub-cond>
  1215.   or:            = <sub-cond> | <sub-cond> ...
  1216.   or:            = <sub-cond> & <sub-cond> ... 
  1217.  
  1218. Sub-condition is one of following:
  1219.  
  1220.   y <pattern>        syntax of current file matching pattern?
  1221.                         for edit menu only.
  1222.   f <pattern>        current file matching pattern?
  1223.   F <pattern>        other file matching pattern?
  1224.   d <pattern>        current directory matching pattern?
  1225.   D <pattern>        other directory matching pattern?
  1226.   t <type>        current file of type?
  1227.   T <type>        other file of type?
  1228.   x <filename>        is it executable filename?
  1229.   ! <sub-cond>        negate the result of sub-condition
  1230.  
  1231. Pattern is a normal shell pattern or a regular expression,
  1232. according to the shell patterns option. You can override
  1233. the global value of the shell patterns option by writing
  1234. "shell_patterns=x" on the first line of the menu file
  1235. (where "x" is either 0 or 1).
  1236.  
  1237. Type is one or more of the following characters:
  1238.  
  1239.   n    not directory
  1240.   r    regular file
  1241.   d    directory
  1242.   l    link
  1243.   c    char special
  1244.   b    block special
  1245.   f    fifo
  1246.   s    socket
  1247.   x    executable
  1248.   t    tagged
  1249.  
  1250. For example 'rlf' means either regular file, link or fifo.
  1251. The 't' type is a little special because it acts on the
  1252. panel instead of the file. The condition '=t t' is true if
  1253. there are tagged files in the current panel and false if
  1254. not.
  1255.  
  1256. If the condition starts with '=?' instead of '=' a debug
  1257. trace will be shown whenever the value of the condition is
  1258. calculated.
  1259.  
  1260. The conditions are calculated from left to right. This
  1261. means
  1262.     = f *.tar.gz | f *.tgz & t n
  1263. is calculated as
  1264.     ( (f *.tar.gz) | (f *.tgz) ) & (t n)
  1265.  
  1266. Here is a sample of the use of conditions:
  1267.  
  1268. = f *.tar.gz | f *.tgz & t n
  1269. L    List the contents of a compressed tar-archive
  1270.     gzip -cd %f | tar xvf -
  1271.  
  1272. Addition Conditions
  1273.  
  1274. If the condition begins with '+' (or '+?') instead of '='
  1275. (or '=?') it is an addition condition. If the condition is
  1276. true the menu entry will be included in the menu. If the
  1277. condition is false the menu entry will not be included in
  1278. the menu.
  1279.  
  1280. You can combine default and addition conditions by
  1281. starting condition with '+=' or '=+' (or '+=?' or '=+?' if
  1282. you want debug trace). If you want to use two different
  1283. conditions, one for adding and another for defaulting, you
  1284. can precede a menu entry with two condition lines, one
  1285. starting with '+' and another starting with '='.
  1286.  
  1287. Comments are started with '#'. The additional comment
  1288. lines must start with '#', space or tab.
  1289.  
  1290. [Options Menu]
  1291. Options Menu
  1292.  
  1293. The Midnight Commander has some options that may be
  1294. toggled on and off in several dialogs which are accessible
  1295. from this menu. Options are enabled if they have an
  1296. asterisk or "x" in front of them.
  1297.  
  1298. The ConfigurationConfiguration command pops up a dialog from which you
  1299. can change most of settings of the Midnight Commander.
  1300.  
  1301. The Display bitsDisplay bits command pops up a dialog from which you
  1302. may select which characters is your terminal able to
  1303. display.
  1304.  
  1305. The ConfirmationConfirmation command pops up a dialog from which you
  1306. specify which actions you want to confirm.
  1307.  
  1308. The Learn keysLearn keys command pops up a dialog from which you
  1309. test some keys which are not working on some terminals and
  1310. you may fix them.
  1311.  
  1312. The Virtual FSVirtual FS command pops up a dialog from which you
  1313. specify some VFS related options.
  1314.  
  1315. The LayoutLayout command pops up a dialog from which you specify
  1316. a bunch of options how mc looks like on the screen.
  1317.  
  1318. The Save setupSave Setup command saves the current settings of the
  1319. Left, Right and Options menus. A small number of other
  1320. settings is saved, too.
  1321.  
  1322. [Configuration]
  1323. Configuration
  1324.  
  1325. The options in this dialog are divided into three groups:
  1326. Panel Options, Pause after run and Other Options.
  1327.  
  1328. Panel Options
  1329.  
  1330. Show Backup Files.  By default the Midnight Commander
  1331. doesn't show files ending in '~' (like GNU's ls option
  1332. -B).
  1333.  
  1334. Show Hidden Files.  By default the Midnight Commander will
  1335. show all files that start with a dot (like ls -a).
  1336.  
  1337. Mark moves down.  By default when you mark a file (with
  1338. either C-t or the Insert key) the selection bar will move
  1339. down.
  1340.  
  1341. Drop down menus.  When this option is enabled, when you
  1342. press the F9  key, the pull down menus will be activated,
  1343. else, you will only be presented with the menu title, and
  1344. you will have to select the entry with the arrow keys or
  1345. the first letter and from there select your option in the
  1346. menu.
  1347.  
  1348. Mix all files.  When this option is enabled, all files and
  1349. directories are shown mixed together. If the option is
  1350. off, directories (and links to directories) are shown at
  1351. the beginning of the listing, and other files afterwards.
  1352.  
  1353. Fast directory reload.  This option is off by default. If
  1354. you activate the fast reload, the Midnight Commander will
  1355. use a trick to determine if the directory contents have
  1356. changed. The trick is to reload the directory only if the
  1357. i-node of the directory has changed; this means that
  1358. reloads only happen when files are created or deleted. If
  1359. what changes is the i-node for a file in the directory
  1360. (file size changes, mode or owner changes, etc) the
  1361. display is not updated. In these cases, if you have the
  1362. option on, you have to rescan the directory manually (with
  1363. C-r).
  1364.  
  1365. Pause after run
  1366.  
  1367. After executing your commands, the Midnight Commander can
  1368. pause, so that you can examine the output of the command.
  1369. There are three possible settings for this variable: Never
  1370. Means that you do not want to see the output of your
  1371. command. If you are using the Linux or SCO console or an
  1372. xterm, you will be able to see the output of the command
  1373. by typing C-o. "On dumb terminals"  You will get the pause
  1374. message on terminals that are not capable of showing the
  1375. output of the last command executed (any terminal that is
  1376. not an xterm or the Linux console). Always  The program
  1377. will pause after executing all of your commands.
  1378.  
  1379. Other Options
  1380.  
  1381. Verbose operation.  This toggles whether the file Copy,
  1382. Rename and Delete operations are verbose (i.e., display a
  1383. dialog box for each operation). If you have a slow
  1384. terminal, you may wish to disable the verbose operation.
  1385. It is automatically turned off if the speed of your
  1386. terminal is less than 9600 bps.
  1387.  
  1388. Compute totals.  If this option is enabled, the Midnight
  1389. Commander computes total byte sizes and total number of
  1390. files prior to any Copy, Rename and Delete operations.
  1391. This will provide you with a more accurate progress bar at
  1392. the expense of some speed. This option has no effect, if
  1393. Verbose operation  is disabled.
  1394.  
  1395. Shell Patterns.  By default the Select, Unselect and Filter
  1396. commands will use shell-like regular expressions. The
  1397. following conversions are performed to achieve this: the
  1398. '*' is replaced by '.*' (zero or more characters); the '?'
  1399. is replaced by '.' (exactly one character) and '.' by the
  1400. literal dot. If the option is disabled, then the regular
  1401. expressions are the ones described in ed(1).
  1402.  
  1403. Auto Save Setup.  If this option is enabled, when you exit
  1404. the Midnight Commander the configurable options of the
  1405. Midnight Commander are saved in the ~/.mc/ini file.
  1406.  
  1407. Auto menus.  If this option is enabled, the user menu will
  1408. be invoked at startup. Useful for building menus for
  1409. non-unixers.
  1410.  
  1411. Use internal editor.  If this option is enabled, the
  1412. built-in file editor is used to edit files. If the option
  1413. is disabled, the editor specified in the EDITOR
  1414. environment variable is used. If no editor is specified,
  1415. vi  is used. See the section on the internal file editor.Internal File Editor
  1416.  
  1417. Use internal viewer.  If this option is enabled, the
  1418. built-in file viewer is used to view files. If the option
  1419. is disabled, the pager specified in the PAGER  environment
  1420. variable is used. If no pager is specified, the view
  1421. command is used. See the section on the internal file
  1422. viewer.Internal File Viewer
  1423.  
  1424. Complete: show all.  By default the Midnight Commander pops
  1425. up all possible completionsCompletion if the completion is ambiguous
  1426. if you press M-Tab  for the second time, for the first time
  1427. it just completes as much as possible and in the case of
  1428. ambiguity beeps. If you want to see all the possible
  1429. completions already after the first M-Tab  pressing, enable
  1430. this option.
  1431.  
  1432. Rotating dash.  If this option is enabled, the Midnight
  1433. Commander shows a rotating dash in the upper right corner
  1434. as a work in progress indicator.
  1435.  
  1436. Lynx-like motion.  If this option is enabled, you may use
  1437. the arrows keys to automatically chdir if the current
  1438. selection is a subdirectory and the shell command line is
  1439. empty. By default, this setting is off.
  1440.  
  1441. Advanced chown.  If this option is enabled, the Advanced
  1442. ChownAdvanced Chown command will be invoked if you run the ChmodChmod or
  1443. ChownChown command.
  1444.  
  1445. Cd follows links.  This option, if set, causes the Midnight
  1446. Commander to follow the logical chain of directories when
  1447. changing current directory either in the panels, or using
  1448. the cd command. This is the default behavior of bash. When
  1449. unset, the Midnight Commander follows the real directory
  1450. structure, so cd .. if you've entered that directory
  1451. through a link will move you to the current directory's
  1452. real parent and not to the directory where the link was
  1453. present.
  1454.  
  1455. Safe delete.  If this option is enabled, deleting files
  1456. unintentionally will get more difficult. The default
  1457. selection in the confirmation dialog changes from the
  1458. "Yes" to the "No" button and deletion of non empty
  1459. directories has to be confirmed by entering the word yes
  1460. By default this option is disabled.
  1461.  
  1462. [Display bits]
  1463. Display bits
  1464.  
  1465. This is used to configure the range of visible characters
  1466. on the screen. This setting may be 7-bits if your
  1467. terminal/curses supports only seven output bits,
  1468. ISO-8859-1 displays all the characters in the ISO-8859-1
  1469. map and full 8 bits is for those terminals that can
  1470. display full 8 bit characters.
  1471.  
  1472. [Confirmation]
  1473. Confirmation
  1474.  
  1475. In this menu you configure the confirmation options for
  1476. file deletion, overwriting, execution by pressing enter
  1477. and quitting the program.
  1478.  
  1479. [Learn keys]
  1480. Learn keys
  1481.  
  1482. This dialog lets you test if your keys F1-F20, Home, End,
  1483. etc. work properly on your terminal. They often don't,
  1484. since many terminal databases are broken.
  1485.  
  1486. You can move around with the Tab key, with the vi moving
  1487. keys ('h' left, 'j' down, 'k' up and 'l' right) and after
  1488. you press any arrow key once (this will mark it OK), then
  1489. you can use that key as well.
  1490.  
  1491. You test them just by pressing each of them. As soon as
  1492. you press a key and the key works properly, OK should
  1493. appear next to the name of that key. Once a key is marked
  1494. OK it starts to work as usually, e.g. F1 for the first
  1495. time will just check that F1 works OK, but from that time
  1496. on it will show help. The same applies to the arrow keys.
  1497. Tab key should be working always.
  1498.  
  1499. If some keys do not work properly, then you won't see OK
  1500. after the key name after you have pressed that key. You
  1501. may then want to fix it. You do it by pressing the button
  1502. of that key (either by mouse or using Tab and Enter). Then
  1503. a red message will appear and you will be asked to type
  1504. that key. If you want to abort this, press just Esc and
  1505. wait until the message disappears. Otherwise type the key
  1506. you're asked to type and also wait until the dialog
  1507. disappears.
  1508.  
  1509. When you finish with all the keys, you may want either to
  1510. Save your key fixes into your ~/.mc/ini file into the
  1511. [terminal:TERM] section (where TERM is the name of your
  1512. current terminal) or to discard them. If all your keys
  1513. were working properly and you had not to fix any key, then
  1514. (of course) no saving will occur.
  1515.  
  1516. [Virtual FS]
  1517. Virtual FS
  1518.  
  1519. This option gives you control over the settings of the
  1520. Virtual File System Virtual File System information cache.
  1521.  
  1522. The Midnight Commander keeps in memory the information
  1523. related to some of the virtual file systems to speed up
  1524. the access to the files in the file system (for example,
  1525. directory listings fetched from ftp servers).
  1526.  
  1527. Moreover in order to access the contents of compressed
  1528. files (for example, compressed tar files) the Midnight
  1529. Commander has to create a temporary uncompressed file on
  1530. your disk.
  1531.  
  1532. Since both the information in memory and the temporary
  1533. files on disk take up resources, you may want to tune the
  1534. parameters of the cached information to decrease your
  1535. resource usage or to maximize the speed of access to
  1536. frequently used file systems.
  1537.  
  1538. The Tar file system is quite clever about how it handles
  1539. tar files: it just loads the directory entries and when it
  1540. needs to use the information contained in the tar file, it
  1541. goes and grab it.
  1542.  
  1543. In the wild, tar files are usually kept compressed (plain
  1544. tar files are species in extinction), and because of the
  1545. nature of those files (the directory entries for the tar
  1546. files is not there waiting for us to be loaded), the tar
  1547. file system has to uncompress the file on the disk in a
  1548. temporary location and then access the uncompressed file
  1549. as a regular tar file.
  1550.  
  1551. Now, since we all love to browse files and tar files all
  1552. over the disk, it's common that you will leave a tar file
  1553. and the re-enter it later. Since uncompression is slow,
  1554. the Midnight Commander will cache the information in
  1555. memory for a limited amount of time, after you hit the
  1556. timeout, all of the resources associated with the file
  1557. system will be freed. The default timeout is set to one
  1558. minute.
  1559.  
  1560. The FTP File SystemFTP File System keeps the directory listing it
  1561. fetches from a ftp server in a cache. The cache expire
  1562. time is configurable with the ftpfs directory cache
  1563. timeout  option. A low value for this option may slow down
  1564. every operation on the ftp file System because every
  1565. operation is accompanied by a query of the ftp server.
  1566.  
  1567. Moreover you can define a proxy host for doing ftp
  1568. transfers and configure the Midnight Commander to always
  1569. use the proxy host. See the section on FTP File SystemFTP File System
  1570. for more information.
  1571.  
  1572. [Layout]
  1573. Layout
  1574.  
  1575. The layout dialog gives you a possibility to change the
  1576. general layout of screen. You can specify whether the
  1577. menubar, the command prompt, the hintbar and the function
  1578. keybar are visible. On the Linux or SCO console you can
  1579. specify how many lines are shown in the output window.
  1580.  
  1581. The rest of the screen area is used for the two directory
  1582. panels. You can specify whether the area is split to the
  1583. panels in vertical or horizontal direction. The split can
  1584. be equal or you can specify an unequal split.
  1585.  
  1586. By default all contents of the directory panels are
  1587. displayed with the same color, but you can specify whether
  1588. permissions   and file types  are highlighted with special
  1589. Colors.Colors If permission highlighting is enabled, the parts
  1590. of the perm  and mode  display fieldsListing Mode... which are valid for
  1591. the user running Midnight Commander are highlighted with
  1592. the color defined with the selected  keyword. If file type
  1593. highlighting is enabled, files are colored according to
  1594. their file type (e.g. directory, core file, executable,
  1595. ...).
  1596.  
  1597. If the Show Mini-Status  option is enabled, one line of
  1598. status information about the currently selected item is
  1599. showed at the bottom of the panels.
  1600.  
  1601. [Save Setup]
  1602. Save Setup
  1603.  
  1604. At startup the Midnight Commander will try to load
  1605. initialization information from the ~/.mc/ini file. If
  1606. this file doesn't exist, it will load the information from
  1607. the system-wide configuration file, located in
  1608. /usr/freeware/lib/mc/mc.ini. If the system-wide configuration
  1609. file doesn't exist, MC uses the default settings.
  1610.  
  1611. The Save Setup  command creates the ~/.mc/ini file by
  1612. saving the current settings of the Left, RightLeft and Right Menus and
  1613. OptionsOptions Menu menus.
  1614.  
  1615. If you activate the auto save setup  option, MC will always
  1616. save the current settings when exiting.
  1617.  
  1618. There also exist settings which can't be changed from the
  1619. menus. To change these settings you have to edit the setup
  1620. file with your favorite editor. See the section on Special
  1621. SettingsSpecial Settings for more information.
  1622.  
  1623. []
  1624.  
  1625.  
  1626. [Executing operating system commands]
  1627. Executing operating system commands
  1628.  
  1629. You may execute commands by typing them directly in the
  1630. Midnight Commander's input line, or by selecting the
  1631. program you want to execute with the selection bar in one
  1632. of the panels and hitting Enter.
  1633.  
  1634. If you press Enter over a file that is not executable, the
  1635. Midnight Commander checks the extension of the selected
  1636. file against the extensions in the Extensions File.Extension File Edit If a
  1637. match is found then the code associated with that
  1638. extension is executed. A very simple macro expansionMacro Substitution
  1639. takes place before executing the command.
  1640.  
  1641. [The cd internal command]
  1642. The cd internal command
  1643.  
  1644. The cd  command is interpreted by the Midnight Commander,
  1645. it is not passed to the command shell for execution. Thus
  1646. it may not handle all of the nice macro expansion and
  1647. substitution that your shell does, although it does some
  1648. of them:
  1649.  
  1650. Tilde substitution  The (~) will be substituted with your
  1651. home directory, if you append a username after the tilde,
  1652. then it will be substituted with the login directory of
  1653. the the specified user.
  1654.  
  1655. For example, ~guest is the home directory for the user
  1656. guest, while ~/guest is the directory guest in your home
  1657. directory.
  1658.  
  1659. Previous directory  You can jump to the directory you were
  1660. previously by using the special directory name '-' like
  1661. this: cd -
  1662.  
  1663. CDPATH directories  If the directory specified to the cd 
  1664. command is not in the current directory, then The Midnight
  1665. Commander uses the value in the environment variable
  1666. CDPATH  to search for the directory in any of the named
  1667. directories.
  1668.  
  1669. For example you could set your CDPATH  variable to
  1670. ~/src:/usr/src, allowing you to change your directory to
  1671. any of the directories inside the ~/src and /usr/src
  1672. directories, from any place in the file system by using
  1673. it's relative name (for example cd linux could take you to
  1674. /usr/src/linux).
  1675.  
  1676. [Macro Substitution]
  1677. Macro Substitution
  1678.  
  1679.  
  1680. When accessing a user menu, Menu File Edit or executing an extension
  1681. dependent command,Extension File Edit or running a command from the command
  1682. line input, a simple macro substitution takes place.
  1683.  
  1684. The macros are:
  1685.  
  1686. "%i"  The indent of blank space, equal the cursor column
  1687. position. For edit menu only.
  1688.  
  1689. "%y"  The syntax type of current file. For edit menu only.
  1690.  
  1691. "%k"  The block file name.
  1692.  
  1693. "%e"  The error file name.
  1694.  
  1695. "%m"  The current menu name.
  1696.  
  1697. "%f"  The current file name.
  1698.  
  1699. "%x"  The extension of current file name.
  1700.  
  1701. "%b"  The current file name without extension.
  1702.  
  1703. "%d"  The current directory name.
  1704.  
  1705. "%F"  The current file in the unselected panel.
  1706.  
  1707. "%D"  The directory name of the unselected panel.
  1708.  
  1709. "%t"  The currently tagged files.
  1710.  
  1711. "%T"  The tagged files in the unselected panel.
  1712.  
  1713. "%u"  and "%U"  Similar to the %t and %T macros, but in
  1714. addition the files are untagged. You can use this macro
  1715. only once per menu file entry or extension file entry,
  1716. because next time there will be no tagged files.
  1717.  
  1718. "%s"  and "%S"  The selected files: The tagged files if
  1719. there are any. Otherwise the current file.
  1720.  
  1721. "%q"  Dropped files. In all places except in the Drop
  1722. action of the mc.ext file,Extension File Edit this will become a null
  1723. string, in the Drop action it will be replaced with a
  1724. space separated list of files that were dropped on the
  1725. file.
  1726.  
  1727. "%cd"  This is a special macro that is used to change the
  1728. current directory to the directory specified in front of
  1729. it. This is used primarily as an interface to the Virtual
  1730. File System.Virtual File System
  1731.  
  1732. "%view"  This macro is used to invoke the internal viewer.
  1733. This macro can be used alone, or with arguments. If you
  1734. pass any arguments to this macro, they should be enclosed
  1735. in brackets. The arguments are: ascii  to force the viewer
  1736. into ascii mode; hex  to force the viewer into hex mode;
  1737. nroff  to tell the viewer that it should interpret the bold
  1738. and underline sequences of nroff; unformatted  to tell the
  1739. viewer to not interpret nroff commands for making the text
  1740. bold or underlined.
  1741.  
  1742. "%%"  The % character
  1743.  
  1744. "%{some text}"  Prompt for the substitution. An input box
  1745. is shown and the text inside the braces is used as a
  1746. prompt. The macro is substituted by the text typed by the
  1747. user. The user can press ESC or F10 to cancel. This macro
  1748. doesn't work on the command line yet.
  1749.  
  1750. [The subshell support]
  1751. The subshell support
  1752.  
  1753. The subshell support is a compile time option, that works
  1754. with the shells: bash, tcsh and zsh.
  1755.  
  1756. When the subshell code is activated the Midnight Commander
  1757. will spawn a concurrent copy of your shell (the one
  1758. defined in the SHELL  variable and if it is not defined,
  1759. then the one in the /etc/passwd file) and run it in a
  1760. pseudo terminal, instead of invoking a new shell each time
  1761. you execute a command, the command will be passed to the
  1762. subshell as if you had typed it. This also allows you to
  1763. change the environment variables, use shell functions and
  1764. define aliases that are valid until you quit the Midnight
  1765. Commander.
  1766.  
  1767. If you are using bash  you can specify startup commands for
  1768. the subshell in your ~/.mc/bashrc file and special
  1769. keyboard maps in the ~/.mc/inputrc file. tcsh   users may
  1770. specify startup commands in the ~/.mc/tcshrc file.
  1771.  
  1772. When the subshell code is used, you can suspend
  1773. applications at any time with the sequence C-o and jump
  1774. back to the Midnight Commander, if you interrupt an
  1775. application, you will not be able to run other external
  1776. commands until you quit the application you interrupted.
  1777.  
  1778. An extra added feature of using the subshell is that the
  1779. prompt displayed by the Midnight Commander is the same
  1780. prompt that you are currently using in your shell.
  1781.  
  1782. The OPTIONSOPTIONS section has more information on how you can
  1783. control the subshell code.
  1784.  
  1785. [Controlling Midnight Commander]
  1786. Controlling Midnight Commander
  1787.  
  1788. The Midnight Commander defines an environment variable
  1789. MC_CONTROL_FILE. The commands executed by MC may give
  1790. instructions to MC by writing to the file specified by
  1791. this variable. This is only available if you compiled your
  1792. copy of the Midnight Commander with the WANT_PARSE option.
  1793.  
  1794. The following instructions are supported.
  1795.  
  1796. clear_tags        Clear all tags.
  1797. tag <filename>        Tag specified file.
  1798. untag <filename>    Untag specified file.
  1799. select <filename>    Move pointer to file.
  1800. change_panel        Switch between panels.
  1801. cd <path>        Change directory.
  1802.  
  1803. If the first letter of the instruction is in lower case it
  1804. operates on the current panel. If the letter is in upper
  1805. case the instruction operates on the other panel. The
  1806. additional letters must be in lower case. Instructions
  1807. must be separated by exactly one space, tab or newline.
  1808. The instructions don't work in the Info, Tree and Quick
  1809. views. The first error causes the rest to be ignored.
  1810.  
  1811. [Chmod]
  1812. Chmod
  1813.  
  1814. The Chmod window is used to change the attribute bits in a
  1815. group of files and directories. It can be invoked with the
  1816. C-x c key combination.
  1817.  
  1818. The Chmod window has two parts - Permissions  and File
  1819.  
  1820. In the File section are displayed the name of the file or
  1821. directory and its permissions in octal form, as well as
  1822. its owner and group.
  1823.  
  1824. In the Permissions section there is a set of check buttons
  1825. which correspond to the file attribute bits. As you change
  1826. the attribute bits, you can see the octal value change in
  1827. the File section.
  1828.  
  1829. To move between the widgets (buttons and check buttons)
  1830. use the arrow keys  or the Tab  key. To change the state of
  1831. the check buttons or to select a button use Space.  You can
  1832. also use the hotkeys on the buttons to quickly activate
  1833. that selection (they are the highlit letters on the
  1834. buttons).
  1835.  
  1836. To set the attribute bits, use the Enter key.
  1837.  
  1838. When working with a group of files or directories, you
  1839. just click on the bits you want to set or clear. Once you
  1840. have selected the bits you want to change, you select one
  1841. of the action buttons (Set marked or Clear marked).
  1842.  
  1843. Finally, to set the attributes exactly to those specified,
  1844. you can use the [Set all]  button, which will act on all
  1845. the tagged files.
  1846.  
  1847. [Marked all]  set only marked attributes to all selected
  1848. files
  1849.  
  1850. [Set marked]  set marked bits in attributes of all selected
  1851. files
  1852.  
  1853. [Clean marked]  clear marked bits in attributes of all
  1854. selected files
  1855.  
  1856. [Set]  set the attributes of one file
  1857.  
  1858. [Cancel]  cancel the Chmod command
  1859.  
  1860. [Chown]
  1861. Chown
  1862.  
  1863. The Chown command is used to change the owner/group of a
  1864. file. The hot key for this command is C-x o.
  1865.  
  1866. [Advanced Chown]
  1867. Advanced Chown
  1868.  
  1869. The Advanced Chown command is the ChmodChmod and ChownChown command
  1870. combined into one window. You can change the permissions
  1871. and owner/group of files at once.
  1872.  
  1873. [File Operations]
  1874. File Operations
  1875.  
  1876. When you copy, move or delete files the Midnight Commander
  1877. shows the file operations dialog. It shows the files
  1878. currently being operated on and there are at most three
  1879. progress bars. The file bar tells how big part of the
  1880. current file has been copied so far. The count bar tells
  1881. how many of tagged files have been handled so far. The
  1882. bytes bar tells how big part of total size of the tagged
  1883. files has been handled so far. If the verbose option is
  1884. off the file and bytes bars are not shown.
  1885.  
  1886. There are two buttons at the bottom of the dialog.
  1887. Pressing the Skip button will skip the rest of the current
  1888. file. Pressing the Abort button will abort the whole
  1889. operation, the rest of the files are skipped.
  1890.  
  1891. There are three other dialogs which you can run into
  1892. during the file operations.
  1893.  
  1894. The error dialog informs about error conditions and has
  1895. three choices. Normally you select either the Skip button
  1896. to skip the file or the Abort button to abort the
  1897. operation altogether. You can also select the Retry button
  1898. if you fixed the problem from another terminal.
  1899.  
  1900. The replace dialog is shown when you attempt to copy or
  1901. move a file on the top of an existing file. The dialog
  1902. shows the dates and sizes of the both files. Press the Yes
  1903. button to overwrite the file, the No button to skip the
  1904. file, the alL button to overwrite all the files, the nonE
  1905. button to never overwrite and the Update button to
  1906. overwrite if the source file is newer than the target
  1907. file. You can abort the whole operation by pressing the
  1908. Abort button.
  1909.  
  1910. The recursive delete dialog is shown when you try to
  1911. delete a directory which is not empty. Press the Yes
  1912. button to delete the directory recursively, the No button
  1913. to skip the directory, the alL button to delete all the
  1914. directories and the nonE button to skip all the non-empty
  1915. directories. You can abort the whole operation by pressing
  1916. the Abort button. If you selected the Yes or alL button
  1917. you will be asked for a confirmation. Type "yes" only if
  1918. you are really sure you want to do the recursive delete.
  1919.  
  1920. If you have tagged files and perform an operation on them
  1921. only the files on which the operation succeeded are
  1922. untagged. Failed and skipped files are left tagged.
  1923.  
  1924. [Mask Copy/Rename]
  1925. Mask Copy/Rename
  1926.  
  1927. The copy/move operations lets you translate the names of
  1928. files in an easy way. To do it, you have to specify the
  1929. correct source mask and usually in the trailing part of
  1930. the destination specify some wildcards. All the files
  1931. matching the source mask are copied/renamed according to
  1932. the target mask. If there are tagged files, only the
  1933. tagged files matching the source mask are renamed.
  1934.  
  1935. There are other option which you can set:
  1936.  
  1937. Follow links tells whether make the symlinks and hardlinks
  1938. in the source directory (recursively in subdirectories)
  1939. new links in the target directory or whether would you
  1940. like to copy their content.
  1941.  
  1942. Dive into subdirs tells what to do if in the target
  1943. directory exists a directory with the same name as the
  1944. file/directory being copied. The default action is to copy
  1945. it's content into that directory, by enabling this you can
  1946. copy the source directory into that directory. Perhaps an
  1947. example will help:
  1948.  
  1949. You want to copy content of a directory foo to /bla/foo,
  1950. which is an already existing directory. Normally (when
  1951. Dive is not set), mc would copy it exactly into /bla/foo.
  1952. By enabling this option you will copy the content into
  1953. /bla/foo/foo, because the directory already exists.
  1954.  
  1955. Preserve attributes tells whether to preserve the original
  1956. files' permissions, timestamps and if you are root whether
  1957. to preserve the original files' UID and GID. If this
  1958. option is not set the current value of the umask will be
  1959. respected.
  1960.  
  1961. "Use shell patterns on"
  1962.  
  1963. When the shell patterns option is on you can use the '*'
  1964. and '?' wildcards in the source mask. They work like they
  1965. do in the shell. In the target mask only the '*' and
  1966. '\<digit>' wildcards are allowed. The first '*' wildcard
  1967. in the target mask corresponds to the first wildcard group
  1968. in the source mask, the second '*' corresponds to the
  1969. second group and so on. The '\1' wildcard corresponds to
  1970. the first wildcard group in the source mask, the '\2'
  1971. wildcard corresponds to the second group and so on all the
  1972. way up to '\9'. The '\0' wildcard is the whole filename of
  1973. the source file.
  1974.  
  1975. Two examples:
  1976.  
  1977. If the source mask is "*.tar.gz", the destination is
  1978. "/bla/*.tgz" and the file to be copied is "foo.tar.gz",
  1979. the copy will be "foo.tgz" in "/bla".
  1980.  
  1981. Let's suppose you want to swap basename and extension so
  1982. that "file.c" will become "c.file" and so on. The source
  1983. mask for this is "*.*" and the destination is "\2.\1".
  1984.  
  1985. "Use shell patterns off"
  1986.  
  1987. When the shell patterns option is off the MC doesn't do
  1988. automatic grouping anymore. You must use '\(...\)'
  1989. expressions in the source mask to specify meaning for the
  1990. wildcards in the target mask. This is more flexible but
  1991. also requires more typing. Otherwise target masks are
  1992. similar to the situation when the shell patterns option is
  1993. on.
  1994.  
  1995. Two examples:
  1996.  
  1997. If the source mask is "^\(.*\)\.tar\.gz$", the destination
  1998. is "/bla/*.tgz" and the file to be copied is "foo.tar.gz",
  1999. the copy will be "/bla/foo.tgz".
  2000.  
  2001. Let's suppose you want to swap basename and extension so
  2002. that "file.c" will become "c.file" and so on. The source
  2003. mask for this is "^\(.*\)\.\(.*\)$" and the destination is
  2004. "\2.\1".
  2005.  
  2006. "Case Conversions"
  2007.  
  2008. You can also change the case of the filenames. If you use
  2009. '\u' or '\l' in the target mask the next character will be
  2010. converted to uppercase or lowercase correspondingly.
  2011.  
  2012. If you use '\U' or '\L' in the target mask the next
  2013. characters will be converted to uppercase or lowercase
  2014. correspondingly up to the next '\E' or next '\U', '\L' or
  2015. the end of the file name.
  2016.  
  2017. The '\u' and '\l' are stronger than '\U' and '\L'.
  2018.  
  2019. For example, if the source mask is '*' (shell patterns on)
  2020. or '^\(.*\)$' (shell patterns off) and the target mask is
  2021. '\L\u*' the file names will be converted to have initial
  2022. upper case and otherwise lower case.
  2023.  
  2024. You can also use '\' as a quote character. For example,
  2025. '\\' is a backslash and '\*' is an asterisk.
  2026.  
  2027. [Internal File Viewer]
  2028. Internal File Viewer
  2029.  
  2030. The internal file viewer provides two display modes: ASCII
  2031. and hex. To toggle between modes, use the F4 key. If you
  2032. have the GNU gzip program installed, it will be used to
  2033. automatically decompress the files on demand.
  2034.  
  2035. The viewer will try to use the best method provided by
  2036. your system or the file type to display the information.
  2037. The internal file viewer will interpret some string
  2038. sequences to set the bold and underline attributes, thus
  2039. making a pretty display of your files.
  2040.  
  2041. When in hex mode, the search function accepts text in
  2042. quotes and constant numbers. Text in quotes is matched
  2043. exactly after removing the quotes. Each number matches one
  2044. byte. You can mix quoted text with constants like this:
  2045.  
  2046. "String" -1 0xBB 012 "more text"
  2047.  
  2048. Note that 012 is an octal number. -1 is converted to 0xFF.
  2049.  
  2050. Some internal details about the viewer: On systems that
  2051. provide the mmap(2) system call, the program maps the file
  2052. instead of loading it; if the system does not provide the
  2053. mmap(2) system call or the file matches an action that
  2054. requires a filter, then the viewer will use it's growing
  2055. buffers, thus loading only those parts of the file that
  2056. you actually access (this includes compressed files).
  2057.  
  2058. Here is a listing of the actions associated with each key
  2059. that the Midnight Commander handles in the internal file
  2060. viewer.
  2061.  
  2062. F1  Invoke the builtin hypertext help viewer.
  2063.  
  2064. F2  Toggle the wrap mode.
  2065.  
  2066. F4  Toggle the hex mode.
  2067.  
  2068. F5  Goto line. This will prompt you for a line number and
  2069. will display that line.
  2070.  
  2071. F6, /.   Regular expression search.
  2072.  
  2073. ?,  Reverse regular expression search.
  2074.  
  2075. F7  Normal search / hex mode search.
  2076.  
  2077. C-s, F17, n.  Start normal search if there was no previous
  2078. search expression else find next match.
  2079.  
  2080. C-r.  Start reverse search if there was no previous search
  2081. expression else find next match.
  2082.  
  2083. F8  Toggle Raw/Parsed mode: This will show the file as
  2084. found on disk or if a processing filter has been specified
  2085. in the mc.ext file, then the output from the filter.
  2086. Current mode is always the other than written on the
  2087. button label, since on the button is the mode which you
  2088. enter by that key.
  2089.  
  2090. F9  Toggle the format/unformat mode: when format mode is on
  2091. the viewer will interpret some string sequences to show
  2092. bold and underline with different colors. Also, on button
  2093. label is the other mode than current.
  2094.  
  2095. F10, Esc.  Exit the internal file viewer.
  2096.  
  2097. next-page, space, C-v.  Scroll one page forward.
  2098.  
  2099. prev-page, M-v, C-b, backspace.  Scroll one page backward.
  2100.  
  2101. down-key  Scroll one line forward.
  2102.  
  2103. up-key  Scroll one line backward.
  2104.  
  2105. C-l  Refresh the screen.
  2106.  
  2107. C-o  Switch to the subshell and show the command screen.
  2108.  
  2109. !  Like C-o, but run a new shell if the subshell is not
  2110. running.
  2111.  
  2112. "[n] m"  Set the mark n.
  2113.  
  2114. "[n] r"  Jump to the mark n.
  2115.  
  2116. C-f  Jump to the next file.
  2117.  
  2118. C-b   Jump to the previous file.
  2119.  
  2120. M-r   Toggle the ruler.
  2121.  
  2122. It's possible to instruct the file viewer how to display a
  2123. file, look at the Extension File Edit sectionExtension File Edit[Internal File Editor]
  2124. Internal File Editor
  2125.  
  2126. The internal file editor provides most of the features of
  2127. common full screen editors. It is invoked using F4
  2128. provided the use_internal_edit  option is set in the
  2129. initialization file. It has an extensible file size limit
  2130. of sixteen megabytes and edits binary files flawlessly.
  2131.  
  2132. The features it presently supports are: Block copy, move,
  2133. delete, cut, paste; "key for key undo";   pull-down menus;
  2134. file insertion; macro definition; regular expression
  2135. search and replace (and our own scanf-printf search and
  2136. replace); shift-arrow MSW-MAC text highlighting (for the
  2137. linux console only); insert-overwrite toggle; and an
  2138. option to pipe text blocks through shell commands like
  2139. indent.
  2140.  
  2141. The editor is very easy to use and requires no tutoring.
  2142. To see what keys do what, just consult the appropriate
  2143. pull-down menu. Other keys are: Shift movement keys do
  2144. text highlighting. Ctrl-Ins  copies to the file
  2145. cooledit.clip and   Shift-Ins  pastes from cooledit.clip.
  2146. Shift-Del   cuts to cooledit.clip,   and Ctrl-Del  deletes
  2147. highlighted text. The completion key also does a Return
  2148. with an automatic indent. Mouse highlighting also works,
  2149. and you can override the mouse as usual by holding down
  2150. the shift key while dragging the mouse to let normal
  2151. terminal mouse highlighting work.
  2152.  
  2153. To define a macro, press Ctrl-R  and then type out the key
  2154. strokes you want to be executed. Press Ctrl-R  again when
  2155. finished. You can then assign the macro to any key you
  2156. like by pressing that key. The macro is executed when you
  2157. press Ctrl-A and then the assigned key. The macro is also
  2158. executed if  you press Meta, Ctrl, or Esc and the assigned
  2159. key, provided that the key is not used for any other
  2160. function. Once defined, the macro commands go into the
  2161. file .cedit/cooledit.macros  in your home directory. You
  2162. can delete a macro by deleting the appropriate line in
  2163. this file.
  2164.  
  2165. F19  will format the currently highlighted block (plain
  2166. text or C  or C++  code or another). This is controlled by
  2167. the file /usr/freeware/lib/mc/edit.indent.rc  which is copied to
  2168. .cedit/edit.indent.rc  in your home directory the first
  2169. time you use it.
  2170.  
  2171. You can use scanf search and replace to search and replace
  2172. a C format string. First take a look at the sscanf  and
  2173. sprintf man pages to see what a format string  is and how
  2174. it works. An example is as follows: Suppose you want to
  2175. replace all occurrences of say, an open bracket, three
  2176. comma separated numbers, and a close bracket, with the
  2177. word apples,   the third number, the word oranges  and then
  2178. the second number, I would fill in the Replace dialog box
  2179. as follows:
  2180.  
  2181.  Enter search string
  2182. (%d,%d,%d)
  2183.  Enter replace string
  2184. apples %d oranges %d
  2185.  Enter replacement argument order
  2186. 3,2
  2187.  
  2188. The last line specifies that the third and then the second
  2189. number are to be used in place of the first and second.
  2190.  
  2191. It is advisable to use this feature with Prompt on replace
  2192. on, because a match is thought to be found whenever the
  2193. number of arguments found matches the number given, which
  2194. is not always a real match. Scanf also treats whitespace
  2195. as being elastic. Note that the scanf format % is very
  2196. useful for scanning strings, and whitespace.
  2197.  
  2198. The editor also displays non-us characters (160+). When
  2199. editing binary files, you should set display bits  to 7
  2200. bits in the options menu to keep the spacing clean.
  2201.  
  2202. See also the file README.edit  in the source tree for some
  2203. more info.
  2204.  
  2205. [Completion]
  2206. Completion
  2207.  
  2208. Let the Midnight Commander type for you.
  2209.  
  2210. Attempt to perform completion on the text before current
  2211. position. MC attempts completion treating the text as
  2212. variable (if the text begins with $  ), username (if the
  2213. text begins with ~  ), hostname (if the text begins with @
  2214. ) or command (if you are on the command line in the
  2215. position where you might type a command, possible
  2216. completions then include shell reserved words and shell
  2217. builtin commands as well) in turn. If none of these
  2218. produces a match, filename completion is attempted.
  2219.  
  2220. Filename, username, variable and hostname completion works
  2221. on all input lines, command completion is command line
  2222. specific. If the completion is ambiguous (there are more
  2223. different possibilities), MC beeps and the following
  2224. action depends on the setting of the Complete: show all
  2225. option in the ConfigurationConfiguration dialog. If it is enabled, a
  2226. list of all possibilities pops up next to the current
  2227. position and you can select with the arrow keys and Enter
  2228. the correct entry. You can also type the first letters in
  2229. which the possibilities differ to move to a subset of all
  2230. possibilities and complete as much as possible. If you
  2231. press M-Tab  again, only the subset will be shown in the
  2232. listbox, otherwise the first item which matches all the
  2233. previous characters will be highlighted. As soon as there
  2234. is no ambiguity, dialog disappears, but you can hide it by
  2235. canceling keys Esc,  F10  and left and right arrow keys. If
  2236. Complete: show allConfiguration is disabled, the dialog pops up only if
  2237. you press M-Tab  for the second time, for the first time MC
  2238. just beeps.
  2239.  
  2240. [Virtual File System]
  2241. Virtual File System
  2242.  
  2243. The Midnight Commander is provided with a code layer to
  2244. access the file system; this code layer is known as the
  2245. virtual file system switch. The virtual file system switch
  2246. allows the Midnight Commander to manipulate files not
  2247. located on the Unix file system.
  2248.  
  2249. Currently the Midnight Commander is packaged with some
  2250. Virtual File Systems (VFS): the local file system, used
  2251. for accessing the regular Unix file system; the ftpfs,
  2252. used to manipulate files on remote systems with the FTP
  2253. protocol; the tarfs, used to manipulate tar and compressed
  2254. tar files; the undelfs, used to recover deleted files on
  2255. ext2 file systems (the default file system for Linux
  2256. systems), fish (for manipulating files over shell
  2257. connections such as rsh and ssh) and finally the mcfs
  2258. (Midnight Commander file system), a network based file
  2259. system.
  2260.  
  2261. The VFS switch code will interpret all of the path names
  2262. used and will forward them to the correct file system, the
  2263. formats used for each one of the file systems is described
  2264. later in their own section.
  2265.  
  2266. [FTP File System]
  2267. FTP File System
  2268.  
  2269. The ftpfs allows you to manipulate files on remote
  2270. machines, to actually use it, you may try to use the panel
  2271. command FTP link (accessible from the menubar) or you may
  2272. directly change your current directory to it using the cd
  2273. command to a path name that looks like this:
  2274.  
  2275. /#ftp:[!][user[:pass]@]machine[:port][remote-dir]
  2276.  
  2277. The, user, port  and remote-dir  elements are optional. If
  2278. you specify the user  element, then the Midnight Commander
  2279. will try to logon on the remote machine as that user,
  2280. otherwise it will use your login name. The optional pass
  2281. element, if present is the password used for the
  2282. connection. This use is not recommended (nor keeping this
  2283. in your hotlist, unless you set the appropriate
  2284. permissions there, and then, it may not be entirely safe
  2285. anyways).
  2286.  
  2287. Examples:
  2288.  
  2289.     /#ftp:ftp.nuclecu.unam.mx/linux/local
  2290.     /#ftp:tsx-11.mit.edu/pub/linux/packages
  2291.     /#ftp:!behind.firewall.edu/pub
  2292.     /#ftp:guest@remote-host.com:40/pub
  2293.     /#ftp:miguel:xxx@server/pub
  2294.  
  2295. To connect to sites behind a firewall, you will need to
  2296. use the prefix ftp://! (ie, with a bang character after
  2297. the double slash) to make the Midnight Commander use a
  2298. proxy host for doing the ftp transfer. You can define the
  2299. proxy host in the Virtual File SystemVirtual FS dialog box.
  2300.  
  2301. Another option to set is the Always use ftp proxy  option
  2302. in the Virtual File SystemVirtual FS dialog box. This will
  2303. configure the program to always use the proxy host. If
  2304. this variable is set, the program will do two things:
  2305. consult the /usr/freeware/lib/mc/mc.no_proxy file for lines
  2306. containing host names that are local (if the host name
  2307. starts with a dot, it is assumed to be a domain) and to
  2308. assume that any hostnames without dots in their names are
  2309. directly accessible.
  2310.  
  2311. If you are using the ftpfs code with a filtering packet
  2312. router that does not allow you to use the regular mode of
  2313. opening files, you may want to force the program to use
  2314. the passive-open mode. To use this, set the
  2315. ftpfs_use_passive_connections option in the initialization
  2316. file.
  2317.  
  2318. The Midnight Commander keeps the directory listing in a
  2319. cache. The cache expire time is configurable in the
  2320. Virtual File System Virtual FS dialog box. This has the funny
  2321. behavior that even if you make changes to a directory,
  2322. they will not be reflected in the directory listing until
  2323. you force a cache reload with the C-r key. This is a
  2324. feature (when you think it's a bug, think about
  2325. manipulating files on the other side of the Atlantic with
  2326. ftpfs).
  2327.  
  2328. [Tar File System]
  2329. Tar File System
  2330.  
  2331. The tar file system provides you with read-only access to
  2332. your tar files and compressed tar files by using the chdir
  2333. command. To change your directory to a tar file, you
  2334. change your current directory to the tar file by using the
  2335. following syntax:
  2336.  
  2337. /filename.tar:utar/[dir-inside-tar]
  2338.  
  2339. The mc.ext file already provides a shortcut for tar files,
  2340. this means that usually you just point to a tar file and
  2341. press return to enter into the tar file, see the Extension
  2342. File Edit Extension File Edit section for details on how this is done.
  2343.  
  2344. Examples:
  2345.  
  2346.     mc-3.0.tar.gz#utar/mc-3.0/vfs
  2347.     /ftp/GCC/gcc-2.7.0.tar#utar
  2348.  
  2349. The latter specifies the full path of the tar archive.[FIle transfer over SHell filesystem]
  2350. FIle transfer over SHell filesystem
  2351.  
  2352.  
  2353. The fish file system is a network based file system that
  2354. allows you to manipulate the files in a remote machine as
  2355. if they were local. To use this, the other side has to
  2356. either run fish server, or has to have bash-compatible
  2357. shell.
  2358.  
  2359. To connect to a remote machine, you just need to chdir
  2360. into a special directory which name is in the following
  2361. format:
  2362.  
  2363. /#sh:[user@]machine[:options]/[remote-dir]
  2364. The, user,   options  and remote-dir  elements are optional.
  2365. If you specify the user  element then the Midnight
  2366. Commander will try to logon on the remote machine as that
  2367. user, otherwise it will use your login name.
  2368.  
  2369. The options  are 'C' - use compression and 'rsh' use rsh
  2370. instead of ssh. If the remote-dir  element is present, your
  2371. current directory on the remote machine will be set to
  2372. this one.
  2373.  
  2374. Examples:
  2375.  
  2376.     /#sh:onlyrsh.mx:r/linux/local
  2377.     /#sh:joe@want.compression.edu:C/private
  2378.     /#sh:joe@noncompressed.ssh.edu/private
  2379.  
  2380. [Network File System]
  2381. Network File System
  2382.  
  2383. The Midnight Commander file system is a network base file
  2384. system that allows you to manipulate the files in a remote
  2385. machine as if they were local. To use this, the remote
  2386. machine must be running the mcserv(8) server program.
  2387.  
  2388. To connect to a remote machine, you just need to chdir
  2389. into a special directory which name is in the following
  2390. format:
  2391.  
  2392. /#mc:[user@]machine[:port][remote-dir]
  2393.  
  2394. The, user, port  and remote-dir  elements are optional. If
  2395. you specify the user  element then the Midnight Commander
  2396. will try to logon on the remote machine as that user,
  2397. otherwise it will use your login name.
  2398.  
  2399. The port  element is used when the remote machine running
  2400. on a special port (see the mcserv(8) manual page for more
  2401. information about ports); finally, if the remote-dir
  2402. element is present, your current directory on the remote
  2403. machine will be set to this one.
  2404.  
  2405. Examples:
  2406.  
  2407.     /#mc:ftp.nuclecu.unam.mx/linux/local
  2408.     /#mc:joe@foo.edu:11321/private
  2409.  
  2410. [Undelete File System]
  2411. Undelete File System
  2412.  
  2413. On Linux systems, if you asked configure to use the ext2fs
  2414. undelete facilities, you will have the undelete file
  2415. system available. Recovery of deleted files is only
  2416. available on ext2 file systems. The undelete file system
  2417. is just an interface to the ext2fs library to: retrieve
  2418. all of the deleted files names on an ext2fs and provides
  2419. and to extract the selected files into a regular
  2420. partition.
  2421.  
  2422. To use this file system, you have to chdir into the
  2423. special file name formed by the "/#undel" prefix and the
  2424. file name where the actual file system resides.
  2425.  
  2426. For example, to recover deleted files on the second
  2427. partition of the first scsi disk on Linux, you would use
  2428. the following path name:
  2429.  
  2430.     /#undel:sda2
  2431.  
  2432. It may take a while for the undelfs to load the required
  2433. information before you start browsing files there.
  2434.  
  2435. [Colors]
  2436. Colors
  2437.  
  2438. The Midnight Commander will try to detect if your terminal
  2439. supports color using the terminal database and your
  2440. terminal name. Sometimes it gets confused, so you may
  2441. force color mode or disable color mode using the -c and -b
  2442. flag respectively.
  2443.  
  2444. If the program is compiled with the Slang screen manager
  2445. instead of ncurses, it will also check the variable
  2446. COLORTERM,  if it is set, it has the same effect as the -c
  2447. flag.
  2448.  
  2449. You may specify terminals that always force color mode by
  2450. adding the color_terminals  variable to the Colors section
  2451. of the initialization file. This will prevent the Midnight
  2452. Commander from trying to detect if your terminal supports
  2453. color. Example:
  2454. [Colors]
  2455. color_terminals=linux,xterm
  2456. color_terminals=terminal-name1,terminal-name2...
  2457.  
  2458. The program can be compiled with both ncurses and slang,
  2459. ncurses does not provide a way to force color mode:
  2460. ncurses uses just the information in the terminal
  2461. database.
  2462.  
  2463. The Midnight Commander provides a way to change the
  2464. default colors. Currently the colors are configured using
  2465. the environment variable MC_COLOR_TABLE   or the Colors
  2466. section in the initialization file.
  2467.  
  2468. In the Colors section, the default color map is loaded
  2469. from the base_color   variable. You can specify an
  2470. alternate color map for a terminal by using the terminal
  2471. name as the key in this section. Example:
  2472.  
  2473. [Colors]
  2474. base_color=
  2475. xterm=menu=magenta:marked=,magenta:markselect=,red
  2476.  
  2477. The format for the color definition is:
  2478.  
  2479.   <keyword>=<foregroundcolor>,<backgroundcolor>:<keyword>= ...
  2480.  
  2481. The colors are optional, and the keywords are: normal,
  2482. selected, marked, markselect, errors, input, reverse,
  2483. gauge; Menu colors are: menu, menusel, menuhot,
  2484. menuhotsel; Dialog colors are: dnormal, dfocus,
  2485. dhotnormal, dhotfocus; Help colors are: helpnormal,
  2486. helpitalic, helpbold, helplink, helpslink; Viewer color
  2487. is: viewunderline; Special highlighting colors are:
  2488. executable, directory, link, device, special, core; Editor
  2489. colors are: editnormal, editbold, editmarked.
  2490.  
  2491. input   determines the color of input lines used in query
  2492. dialogs.
  2493.  
  2494. gauge   determines the color of the filled part of the
  2495. progress bar (gauge), which shows how many percent of
  2496. files were copied etc. in a graphical way.
  2497.  
  2498. The dialog boxes use the following colors: dnormal   is
  2499. used for the normal text, dfocus  is the color used for the
  2500. currently selected component, dhotnormal  is the color used
  2501. to differentiate the hotkey color in normal components,
  2502. whereas the dhotfocus  color is used for the highlighted
  2503. color in the currently selected component.
  2504.  
  2505. Menus use the same scheme but uses the menu, menusel,
  2506. menuhot and menuhotsel tags instead.
  2507.  
  2508. Help uses the following colors: helpnormal  is used for
  2509. normal text, helpitalic  is used for text which is
  2510. emphasized in italic in the manual page, helpbold  is used
  2511. for text which is emphasized in bold in the manual page,
  2512. helplink  is used for not selected hyperlinks and helpslink
  2513. is used for selected hyperlink.
  2514.  
  2515. Special highlight colors determine how files are displayed
  2516. when file highlighting is enabled (see the section on
  2517. Layout).Layout directory  is used for directories or symbolic
  2518. links to directories; executable  for executable files;
  2519. link  is used for symbolic links which are neither stalled
  2520. nor linked to a directory; stalledlink  is used for stalled
  2521. symbolic links; device  - character and block devices;
  2522. special  is used for special files, such as FIFOs and IPC
  2523. sockets; core  is for core files.
  2524.  
  2525. The possible colors are: black, gray, red, brightred,
  2526. green, brightgreen, brown, yellow, blue, brightblue,
  2527. magenta, brightmagenta, cyan, brightcyan, lightgray and
  2528. white. And there is a special keyword for transparent
  2529. background. It is 'default'. The 'default' can only be
  2530. used for background color. Example:
  2531. [Colors]
  2532. base_color=normal=white,default:marked=magenta,default
  2533.  
  2534. [Special Settings]
  2535. Special Settings
  2536.  
  2537. Most of the settings of the Midnight Commander can be
  2538. changed from the menus. However, there are a small number
  2539. of settings which can only be changed by editing the setup
  2540. file.
  2541.  
  2542. These variables may be set in your ~/.mc/ini file:
  2543.  
  2544. clear_before_exec.  By default the Midnight Commander
  2545. clears the screen before executing a command. If you would
  2546. prefer to see the output of the command at the bottom of
  2547. the screen, edit your ~/mc.ini file and change the value
  2548. of the field clear_before_exec to 0.
  2549.  
  2550. confirm_view_dir.  If you press F3 on a directory, normally
  2551. MC enters that directory. If this flag is set to 1, then
  2552. MC will ask for confirmation before changing the directory
  2553. if you have files tagged.
  2554.  
  2555. ftpfs_retry_seconds.  This value is the number of seconds
  2556. the Midnight Commander will wait before attempting a
  2557. reconnection to an ftp server that has denied the login.
  2558. If the value is zero, the the program will not retry the
  2559. login.
  2560.  
  2561. ftpfs_use_passive_connections.  This option is by off
  2562. default. This makes the ftpfs code use the passive open
  2563. mode for transferring files. This is used by people that
  2564. are behind a filtering packet router. This option just
  2565. works if you are not using an ftp proxy.
  2566.  
  2567. max_dirt_limit.  Specifies how many screen updates can be
  2568. skipped at most in the internal file viewer. Normally this
  2569. value is not significant, because the code automatically
  2570. adjusts the number of updates to skip according to the
  2571. rate of incoming keypresses. However, on very slow
  2572. machines or terminals with a fast keyboard auto repeat, a
  2573. big value can make screen updates too jumpy. It seems that
  2574. setting max_dirt_limit to 10 causes the best behavior, and
  2575. that is the default value.
  2576.  
  2577. mouse_move_pages.  Controls whenever scrolling with the
  2578. mouse is done by pages or line by line on the panels.
  2579.  
  2580. mouse_move_pages_viewer.  Controls if scrolling with the
  2581. mouse is done by pages or line by line on the internal
  2582. file viewer.
  2583.  
  2584. old_esc_mode  By default the Midnight Commander treats the
  2585. ESC key as a key prefix (old_esc_mode=0), if you set this
  2586. option (old_esc_mode=1), then the ESC key will act as a
  2587. prefix key for one second, and if no extra keys have
  2588. arrived, then the ESC key is interpreted as a cancel key
  2589. (ESC ESC).
  2590.  
  2591.  
  2592. only_leading_plus_minus  set special treatment for '+',
  2593. '-', '*' in command line (select, unselect, reverse
  2594. selection) only if command line is empty. No need to quote
  2595. this characters in the middle of the command line. But we
  2596. can not change selection when command line is not empty.
  2597. panel_scroll_pages  If set (the default), panel will scroll
  2598. by half the display when the cursor reaches the end or the
  2599. beginning of the panel, otherwise it will just scroll a
  2600. file at a time.
  2601.  
  2602. preserve_uidgid  If this option is set (the default), when
  2603. logged in as root the default will be to preserve the UID
  2604. and the GID of files. Some users prefer to disable this
  2605. option, so that's why it's configurable.
  2606.  
  2607. show_output_starts_shell  This variable only works if you
  2608. are not using the subshell support. When you use the C-o
  2609. keystroke to go back to the user screen, if this one is
  2610. set, you will get a fresh shell. Otherwise, pressing any
  2611. key will bring you back to the Midnight Commander.
  2612.  
  2613. torben_fj_mode  If this flag is set, then the home and end
  2614. keys will work slightly different on the panels, instead
  2615. of moving the selection to the first and last files in the
  2616. panels, they will act as follows: The home key will: Go up
  2617. to the middle line, if below it; else go to the top line
  2618. unless it is already on the top line, in this case it will
  2619. go to the first file in the panel. The end key has a
  2620. similar behavior: Go down to the middle line, if over it;
  2621. else go to the bottom line unless you already are at the
  2622. bottom line, in such case it will move the selection to
  2623. the last file name in the panel.
  2624.  
  2625. use_file_to_guess_type  If this variable is on (the
  2626. default) it will spawn the file command to match the file
  2627. types listed on the mc.ext file.Extension File Edit
  2628.  
  2629. xterm_mode  If this variable is on (default is off) when
  2630. you browse the file system on a Tree panel, it will
  2631. automatically reload the other panel with the contents of
  2632. the selected directory.
  2633.  
  2634. [Terminal databases]
  2635. Terminal databases
  2636.  
  2637. The Midnight Commander provides a way to fix your system
  2638. terminal database without requiring root privileges. The
  2639. Midnight Commander searches in the system initialization
  2640. file (the mc.lib file located in the Midnight Commander
  2641. library directory) and in the ~/.mc/ini file for the
  2642. section "terminal:your-terminal-name" and then for the
  2643. section "terminal:general", each line of the section
  2644. contains a key symbol that you want to define, followed by
  2645. an equal sign and the definition for the key. You can use
  2646. the special \e form to represent the escape character and
  2647. the ^x to represent the control-x character.
  2648.  
  2649. The possible key symbols are:
  2650.  
  2651. f0 to f20     Function keys f0-f20
  2652. bs          backspace
  2653. home          home key
  2654. end           end key
  2655. up            up arrow key
  2656. down          down arrow key
  2657. left          left arrow key
  2658. right         right arrow key
  2659. pgdn          page down key
  2660. pgup          page up key
  2661. insert        the insert character
  2662. delete        the delete character
  2663. complete      to do completion
  2664.  
  2665. For example, to define the key insert to be the Escape + [
  2666. + O + p, you set this in the ini file:
  2667.  
  2668. insert=\e[Op
  2669.  
  2670. The complete  key symbol represents the escape sequences
  2671. used to invoke the completion process, this is invoked
  2672. with M-tab, but you can define other keys to do the same
  2673. work (on those keyboard with tons of nice and unused keys
  2674. everywhere).
  2675.  
  2676. []
  2677.  
  2678.  
  2679. [FILES]
  2680. FILES
  2681.  
  2682.  
  2683. The program will retrieve all of its information relative
  2684. to the MCHOME environment variable, if this variable is
  2685. not set, then it will fall back to the /usr/freeware directory.
  2686.  
  2687. /usr/freeware/lib/mc/mc.hlp The help file for the program.
  2688.  
  2689. /usr/freeware/lib/mc/mc.ext The default system-wide extensions
  2690. file.
  2691.  
  2692. ~/.mc/ext User's own extension, view configuration and
  2693. edit configuration file. They override the contents of the
  2694. system wide files if present.
  2695.  
  2696. /usr/freeware/lib/mc/mc.ini The default system-wide setup for
  2697. the Midnight Commander, used only if the user doesn't have
  2698. his own ~/.mc/ini file.
  2699.  
  2700. /usr/freeware/lib/mc/mc.lib Global settings for the Midnight
  2701. Commander. Settings in this file affect all users, whether
  2702. they have ~/.mc/ini or not, as long as ~/.mc/ini doesn't
  2703. override them. Currently, only terminal settingsTerminal databases are
  2704. loaded from mc.lib.
  2705.  
  2706. ~/.mc/ini User's own setup. If this file is present then
  2707. the setup is loaded from here instead of the system-wide
  2708. startup file.
  2709.  
  2710. /usr/freeware/lib/mc/mc.hint This file contains the hints
  2711. (cookies) displayed by the program.
  2712.  
  2713. /usr/freeware/lib/mc/mc.menu This file contains the default
  2714. system-wide applications menu.
  2715.  
  2716. ~/.mc/menu User's own application menu. If this file is
  2717. present it is used instead of the system-wide applications
  2718. menu.
  2719.  
  2720. ~/.mc/Tree The directory list for the directory tree and
  2721. tree view features.
  2722.  
  2723. Local user-defined menu. If this file is present it is
  2724. used instead of the home or system-wide applications menu.
  2725.  
  2726. [AVAILABILITY]
  2727. AVAILABILITY
  2728.  
  2729. The latest version of this program can be found at
  2730. ftp://ftp.gnome.org/mirror/gnome.org/stable/sources/mc/
  2731. and on the mirrors listed on the GNOME site
  2732. http://www.gnome.org/.[SEE ALSO]
  2733. SEE ALSO
  2734.  
  2735. ed(1), gpm(1), mcserv(8), terminfo(1), view(1), sh(1),
  2736. bash(1), tcsh(1), zsh(1).
  2737.  
  2738. The Midnight Commander page on the World Wide Web:
  2739.     http://www.gnome.org/mc/
  2740.  
  2741. [AUTHORS]
  2742. AUTHORS
  2743.  
  2744. Miguel de Icaza (miguel@ximian.com), Janne Kukonlehto
  2745. (jtklehto@paju.oulu.fi), Radek Doulik (rodo@ucw.cz), Fred
  2746. Leeflang (fredl@nebula.ow.org), Dugan Porter
  2747. (dugan@b011.eunet.es), Jakub Jelinek
  2748. (jj@sunsite.mff.cuni.cz), Ching Hui
  2749. (mr854307@cs.nthu.edu.tw), Andrej Borsenkow
  2750. (borsenkow.msk@sni.de), Norbert Warmuth
  2751. (nwarmuth@privat.circular.de), Mauricio Plaza
  2752. (mok@roxanne.nuclecu.unam.mx), Paul Sheer
  2753. (psheer@icon.co.za), Pavel Machek (pavel@ucw.cz) and Pavel
  2754. Roskin (proski@gnu.org) are the developers of this
  2755. package. Alessandro Rubini (rubini@ipvvis.unipv.it) has
  2756. been especially helpful debugging and enhancing the
  2757. program's mouse support, John Davis (davis@space.mit.edu)
  2758. also made his S-Lang library available to us under the GPL
  2759. and answered my questions about it, and the following
  2760. people have contributed code and many bug fixes (in
  2761. alphabetical order):
  2762.  
  2763. Adam Tla/lka (atlka@sunrise.pg.gda.pl), alex@bcs.zp.ua
  2764. (Alex I. Tkachenko), Antonio Palama, DOS port
  2765. (palama@posso.dm.unipi.it), Erwin van Eijk
  2766. (wabbit@corner.iaf.nl), Gerd Knorr
  2767. (kraxel@cs.tu-berlin.de), Jean-Daniel Luiset
  2768. (luiset@cih.hcuge.ch), Jon Stevens
  2769. (root@dolphin.csudh.edu), Juan Francisco Grigera, Win32
  2770. port (j-grigera@usa.net), Juan Jose Ciarlante
  2771. (jjciarla@raiz.uncu.edu.ar), Ilya Rybkin
  2772. (rybkin@rouge.phys.lsu.edu), Marcelo Roccasalva
  2773. (mfroccas@raiz.uncu.edu.ar), Massimo Fontanelli
  2774. (MC8737@mclink.it), Sergey Ya. Korshunoff
  2775. (root@seyko.msk.su), Thomas Pundt
  2776. (pundtt@math.uni-muenster.de), Timur Bakeyev
  2777. (timur@goff.comtat.kazan.su), Tomasz Cholewo
  2778. (tjchol01@mecca.spd.louisville.edu), Torben Fjerdingstad
  2779. (torben.fjerdingstad@uni-c.dk), Vadim Sinolitis
  2780. (vvs@nsrd.npi.msu.su) and Wim Osterholt
  2781. (wim@djo.wtm.tudelft.nl).
  2782.  
  2783. [BUGS]
  2784. BUGS
  2785.  
  2786. See the file TODO in the distribution for information on
  2787. what remains to be done.
  2788.  
  2789. If you want to report a problem with the program, please
  2790. send mail to this address: mc-devel@gnome.org.
  2791.  
  2792. Provide a detailed description of the bug, the version of
  2793. the program you are running (mc -V display this
  2794. information), the operating system you are running the
  2795. program on and if the program crashes, we would appreciate
  2796. a stack trace.
  2797.  
  2798. [main]
  2799.  lqwqk     k           k     
  2800.  x x x .   x     .     x     
  2801.  x x x k lqu wqk k lqw tqk n 
  2802.  x x x x x x x x x x x x x x 
  2803.  v   v v mqv v v v mqu v v mj
  2804.      qqqqqqCommander qj 
  2805. 
  2806.  
  2807. Version 
  2808.  
  2809. This is the main help screen for the GNU Midnight Commander . 
  2810.  
  2811. To learn more on how to use the interactive help facility
  2812. just tap enterHow to use help. You may like to go directly to the
  2813. help contentsContents.
  2814.  
  2815. The Midnight Commander is written by its authorsAUTHORS.
  2816.  
  2817. The Midnight Commander comes with ABSOLUTELY NO WARRANTYWarranty.
  2818. This is free software, and you are welcome to redistribute
  2819. it under certain conditionsLicense.[License]
  2820.  
  2821.                 GNU GENERAL PUBLIC LICENSE
  2822.                    Version 2, June 1991
  2823.  
  2824.  Copyright (C) 1989, 1991 Free Software Foundation,
  2825. Inc. 675 Mass Ave, Cambridge, MA 02139, USA.
  2826.  
  2827.  Everyone is permitted to copy and distribute verbatim
  2828. copies of this license document, but changing it is not
  2829. allowed.
  2830.  
  2831.                          Preamble
  2832.  
  2833.   The licenses for most software are designed to take away
  2834. your freedom to share and change it.  By contrast, the GNU
  2835. General Public License is intended to guarantee your
  2836. freedom to share and change free software--to make sure
  2837. the software is free for all its users.  This General
  2838. Public License applies to most of the Free Software
  2839. Foundation's software and to any other program whose
  2840. authors commit to using it.  (Some other Free Software
  2841. Foundation software is covered by the GNU Library General
  2842. Public License instead.)  You can apply it to your
  2843. programs, too.
  2844.  
  2845.   When we speak of free software, we are referring to
  2846. freedom, not price.  Our General Public Licenses are
  2847. designed to make sure that you have the freedom to
  2848. distribute copies of free software (and charge for this
  2849. service if you wish), that you receive source code or can
  2850. get it if you want it, that you can change the software or
  2851. use pieces of it in new free programs; and that you know
  2852. you can do these things.
  2853.  
  2854.   To protect your rights, we need to make restrictions
  2855. that forbid anyone to deny you these rights or to ask you
  2856. to surrender the rights.  These restrictions translate to
  2857. certain responsibilities for you if you distribute copies
  2858. of the software, or if you modify it.
  2859.  
  2860.   For example, if you distribute copies of such a program,
  2861. whether gratis or for a fee, you must give the recipients
  2862. all the rights that you have.  You must make sure that
  2863. they, too, receive or can get the source code.  And you
  2864. must show them these terms so they know their rights.
  2865.  
  2866.   We protect your rights with two steps: (1) copyright the
  2867. software, and (2) offer you this license which gives you
  2868. legal permission to copy, distribute and/or modify the
  2869. software.
  2870.  
  2871.   Also, for each author's protection and ours, we want to
  2872. make certain that everyone understands that there is no
  2873. warranty for this free software.  If the software is
  2874. modified by someone else and passed on, we want its
  2875. recipients to know that what they have is not the
  2876. original, so that any problems introduced by others will
  2877. not reflect on the original authors' reputations.
  2878.  
  2879.   Finally, any free program is threatened constantly by
  2880. software patents.  We wish to avoid the danger that
  2881. redistributors of a free program will individually obtain
  2882. patent licenses, in effect making the program proprietary.
  2883. To prevent this, we have made it clear that any patent
  2884. must be licensed for everyone's free use or not licensed
  2885. at all.
  2886.  
  2887.   The precise terms and conditions for copying,
  2888. distribution and modification follow.
  2889.  
  2890.                 GNU GENERAL PUBLIC LICENSE
  2891.             TERMS AND CONDITIONS FOR COPYING,
  2892.               DISTRIBUTION AND MODIFICATION
  2893.  
  2894.   0. This License applies to any program or other work
  2895. which contains a notice placed by the copyright holder
  2896. saying it may be distributed under the terms of this
  2897. General Public License.  The "Program", below, refers to
  2898. any such program or work, and a "work based on the
  2899. Program" means either the Program or any derivative work
  2900. under copyright law: that is to say, a work containing the
  2901. Program or a portion of it, either verbatim or with
  2902. modifications and/or translated into another language.
  2903. (Hereinafter, translation is included without limitation
  2904. in the term "modification".)  Each licensee is addressed
  2905. as "you".
  2906.  
  2907. Activities other than copying, distribution and
  2908. modification are not covered by this License; they are
  2909. outside its scope.  The act of running the Program is not
  2910. restricted, and the output from the Program is covered
  2911. only if its contents constitute a work based on the
  2912. Program (independent of having been made by running the
  2913. Program).  Whether that is true depends on what the
  2914. Program does.
  2915.  
  2916.   1. You may copy and distribute verbatim copies of the
  2917. Program's source code as you receive it, in any medium,
  2918. provided that you conspicuously and appropriately publish
  2919. on each copy an appropriate copyright notice and
  2920. disclaimer of warranty; keep intact all the notices that
  2921. refer to this License and to the absence of any warranty;
  2922. and give any other recipients of the Program a copy of
  2923. this License along with the Program.
  2924.  
  2925. You may charge a fee for the physical act of transferring
  2926. a copy, and you may at your option offer warranty
  2927. protection in exchange for a fee.
  2928.  
  2929.   2. You may modify your copy or copies of the Program or
  2930. any portion of it, thus forming a work based on the
  2931. Program, and copy and distribute such modifications or
  2932. work under the terms of Section 1 above, provided that you
  2933. also meet all of these conditions:
  2934.  
  2935.     a) You must cause the modified files to carry
  2936. prominent notices stating that you changed the files and
  2937. the date of any change.
  2938.  
  2939.     b) You must cause any work that you distribute or
  2940. publish, that in whole or in part contains or is derived
  2941. from the Program or any part thereof, to be licensed as a
  2942. whole at no charge to all third parties under the terms of
  2943. this License.
  2944.  
  2945.     c) If the modified program normally reads commands
  2946. interactively when run, you must cause it, when started
  2947. running for such interactive use in the most ordinary way,
  2948. to print or display an announcement including an
  2949. appropriate copyright notice and a notice that there is no
  2950. warranty (or else, saying that you provide a warranty) and
  2951. that users may redistribute the program under these
  2952. conditions, and telling the user how to view a copy of
  2953. this License.  (Exception: if the Program itself is
  2954. interactive but does not normally print such an
  2955. announcement, your work based on the Program is not
  2956. required to print an announcement.)
  2957.  
  2958. These requirements apply to the modified work as a whole.
  2959. If identifiable sections of that work are not derived from
  2960. the Program, and can be reasonably considered independent
  2961. and separate works in themselves, then this License, and
  2962. its terms, do not apply to those sections when you
  2963. distribute them as separate works.  But when you
  2964. distribute the same sections as part of a whole which is a
  2965. work based on the Program, the distribution of the whole
  2966. must be on the terms of this License, whose permissions
  2967. for other licensees extend to the entire whole, and thus
  2968. to each and every part regardless of who wrote it.
  2969.  
  2970. Thus, it is not the intent of this section to claim rights
  2971. or contest your rights to work written entirely by you;
  2972. rather, the intent is to exercise the right to control the
  2973. distribution of derivative or collective works based on
  2974. the Program.
  2975.  
  2976. In addition, mere aggregation of another work not based on
  2977. the Program with the Program (or with a work based on the
  2978. Program) on a volume of a storage or distribution medium
  2979. does not bring the other work under the scope of this
  2980. License.
  2981.  
  2982.   3. You may copy and distribute the Program (or a work
  2983. based on it, under Section 2) in object code or executable
  2984. form under the terms of Sections 1 and 2 above provided
  2985. that you also do one of the following:
  2986.  
  2987.     a) Accompany it with the complete corresponding
  2988. machine-readable source code, which must be distributed
  2989. under the terms of Sections 1 and 2 above on a medium
  2990. customarily used for software interchange; or,
  2991.  
  2992.     b) Accompany it with a written offer, valid for at
  2993. least three years, to give any third party, for a charge
  2994. no more than your cost of physically performing source
  2995. distribution, a complete machine-readable copy of the
  2996. corresponding source code, to be distributed under the
  2997. terms of Sections 1 and 2 above on a medium customarily
  2998. used for software interchange; or,
  2999.  
  3000.     c) Accompany it with the information you received as
  3001. to the offer to distribute corresponding source code.
  3002. (This alternative is allowed only for noncommercial
  3003. distribution and only if you received the program in
  3004. object code or executable form with such an offer, in
  3005. accord with Subsection b above.)
  3006.  
  3007. The source code for a work means the preferred form of the
  3008. work for making modifications to it.  For an executable
  3009. work, complete source code means all the source code for
  3010. all modules it contains, plus any associated interface
  3011. definition files, plus the scripts used to control
  3012. compilation and installation of the executable.  However,
  3013. as a special exception, the source code distributed need
  3014. not include anything that is normally distributed (in
  3015. either source or binary form) with the major components
  3016. (compiler, kernel, and so on) of the operating system on
  3017. which the executable runs, unless that component itself
  3018. accompanies the executable.
  3019.  
  3020. If distribution of executable or object code is made by
  3021. offering access to copy from a designated place, then
  3022. offering equivalent access to copy the source code from
  3023. the same place counts as distribution of the source code,
  3024. even though third parties are not compelled to copy the
  3025. source along with the object code.
  3026.  
  3027.   4. You may not copy, modify, sublicense, or distribute
  3028. the Program except as expressly provided under this
  3029. License.  Any attempt otherwise to copy, modify,
  3030. sublicense or distribute the Program is void, and will
  3031. automatically terminate your rights under this License.
  3032. However, parties who have received copies, or rights, from
  3033. you under this License will not have their licenses
  3034. terminated so long as such parties remain in full
  3035. compliance.
  3036.  
  3037.   5. You are not required to accept this License, since
  3038. you have not signed it.  However, nothing else grants you
  3039. permission to modify or distribute the Program or its
  3040. derivative works.  These actions are prohibited by law if
  3041. you do not accept this License.  Therefore, by modifying
  3042. or distributing the Program (or any work based on the
  3043. Program), you indicate your acceptance of this License to
  3044. do so, and all its terms and conditions for copying,
  3045. distributing or modifying the Program or works based on
  3046. it.
  3047.  
  3048.   6. Each time you redistribute the Program (or any work
  3049. based on the Program), the recipient automatically
  3050. receives a license from the original licensor to copy,
  3051. distribute or modify the Program subject to these terms
  3052. and conditions.  You may not impose any further
  3053. restrictions on the recipients' exercise of the rights
  3054. granted herein.  You are not responsible for enforcing
  3055. compliance by third parties to this License.
  3056.  
  3057.   7. If, as a consequence of a court judgment or
  3058. allegation of patent infringement or for any other reason
  3059. (not limited to patent issues), conditions are imposed on
  3060. you (whether by court order, agreement or otherwise) that
  3061. contradict the conditions of this License, they do not
  3062. excuse you from the conditions of this License.  If you
  3063. cannot distribute so as to satisfy simultaneously your
  3064. obligations under this License and any other pertinent
  3065. obligations, then as a consequence you may not distribute
  3066. the Program at all.  For example, if a patent license
  3067. would not permit royalty-free redistribution of the
  3068. Program by all those who receive copies directly or
  3069. indirectly through you, then the only way you could
  3070. satisfy both it and this License would be to refrain
  3071. entirely from distribution of the Program.
  3072.  
  3073. If any portion of this section is held invalid or
  3074. unenforceable under any particular circumstance, the
  3075. balance of the section is intended to apply and the
  3076. section as a whole is intended to apply in other
  3077. circumstances.
  3078.  
  3079. It is not the purpose of this section to induce you to
  3080. infringe any patents or other property right claims or to
  3081. contest validity of any such claims; this section has the
  3082. sole purpose of protecting the integrity of the free
  3083. software distribution system, which is implemented by
  3084. public license practices.  Many people have made generous
  3085. contributions to the wide range of software distributed
  3086. through that system in reliance on consistent application
  3087. of that system; it is up to the author/donor to decide if
  3088. he or she is willing to distribute software through any
  3089. other system and a licensee cannot impose that choice.
  3090.  
  3091. This section is intended to make thoroughly clear what is
  3092. believed to be a consequence of the rest of this License.
  3093.  
  3094.   8. If the distribution and/or use of the Program is
  3095. restricted in certain countries either by patents or by
  3096. copyrighted interfaces, the original copyright holder who
  3097. places the Program under this License may add an explicit
  3098. geographical distribution limitation excluding those
  3099. countries, so that distribution is permitted only in or
  3100. among countries not thus excluded.  In such case, this
  3101. License incorporates the limitation as if written in the
  3102. body of this License.
  3103.  
  3104.   9. The Free Software Foundation may publish revised
  3105. and/or new versions of the General Public License from
  3106. time to time.  Such new versions will be similar in spirit
  3107. to the present version, but may differ in detail to
  3108. address new problems or concerns.
  3109.  
  3110. Each version is given a distinguishing version number.  If
  3111. the Program specifies a version number of this License
  3112. which applies to it and "any later version", you have the
  3113. option of following the terms and conditions either of
  3114. that version or of any later version published by the Free
  3115. Software Foundation.  If the Program does not specify a
  3116. version number of this License, you may choose any version
  3117. ever published by the Free Software Foundation.
  3118.  
  3119.   10. If you wish to incorporate parts of the Program into
  3120. other free programs whose distribution conditions are
  3121. different, write to the author to ask for permission.  For
  3122. software which is copyrighted by the Free Software
  3123. Foundation, write to the Free Software Foundation; we
  3124. sometimes make exceptions for this.  Our decision will be
  3125. guided by the two goals of preserving the free status of
  3126. all derivatives of our free software and of promoting the
  3127. sharing and reuse of software generally.
  3128.  
  3129. [Warranty]
  3130.                        NO WARRANTY
  3131.  
  3132.   11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE,
  3133. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT
  3134. PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED
  3135. IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  3136. PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
  3137. EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED
  3138. TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  3139. FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE
  3140. QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.
  3141. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
  3142. ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  3143.  
  3144.   12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR
  3145. AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY
  3146. OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM
  3147. AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  3148. INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
  3149. CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY
  3150. TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
  3151. DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED
  3152. BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO
  3153. OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
  3154. OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
  3155. DAMAGES.
  3156.  
  3157.                END OF TERMS AND CONDITIONS
  3158.  
  3159.       How to Apply These Terms to Your New Programs
  3160.  
  3161.   If you develop a new program, and you want it to be of
  3162. the greatest possible use to the public, the best way to
  3163. achieve this is to make it free software which everyone
  3164. can redistribute and change under these terms.
  3165.  
  3166.   To do so, attach the following notices to the program.
  3167. It is safest to attach them to the start of each source
  3168. file to most effectively convey the exclusion of warranty;
  3169. and each file should have at least the "copyright" line
  3170. and a pointer to where the full notice is found.
  3171.  
  3172. <one line to give the program's name and a brief idea of 
  3173. what it does.>
  3174. Copyright (C) 19yy  <name of author>
  3175.  
  3176.     This program is free software; you can redistribute it
  3177. and/or modify it under the terms of the GNU General Public
  3178. License as published by the Free Software Foundation;
  3179. either version 2 of the License, or (at your option) any
  3180. later version.
  3181.  
  3182.     This program is distributed in the hope that it will
  3183. be useful, but WITHOUT ANY WARRANTY; without even the
  3184. implied warranty of MERCHANTABILITY or FITNESS FOR A
  3185. PARTICULAR PURPOSE.  See the GNU General Public License
  3186. for more details.
  3187.  
  3188.     You should have received a copy of the GNU General
  3189. Public License along with this program; if not, write to
  3190. the Free Software Foundation, Inc., 675 Mass Ave,
  3191. Cambridge, MA 02139, USA.
  3192.  
  3193. Also add information on how to contact you by electronic
  3194. and paper mail.
  3195.  
  3196. If the program is interactive, make it output a short
  3197. notice like this when it starts in an interactive mode:
  3198.  
  3199. Gnomovision version 69, Copyright (C) 19yy name of author
  3200. Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
  3201. type `show w'.  This is free software, and you are welcome
  3202. to redistribute it under certain conditions; type `show c'
  3203. for details.
  3204.  
  3205. The hypothetical commands `show w' and `show c' should
  3206. show the appropriate parts of the General Public License.
  3207. Of course, the commands you use may be called something
  3208. other than `show w' and `show c'; they could even be
  3209. mouse-clicks or menu items--whatever suits your program.
  3210.  
  3211. You should also get your employer (if you work as a
  3212. programmer) or your school, if any, to sign a "copyright
  3213. disclaimer" for the program, if necessary.  Here is a
  3214. sample; alter the names:
  3215.  
  3216.   Yoyodyne, Inc., hereby disclaims all copyright interest
  3217. in the program `Gnomovision' (which makes passes at
  3218. compilers) written by James Hacker.
  3219.  
  3220.   <signature of Ty Coon>, 1 April 1989
  3221.   Ty Coon, President of Vice
  3222.  
  3223. This General Public License does not permit incorporating
  3224. your program into proprietary programs.  If your program
  3225. is a subroutine library, you may consider it more useful
  3226. to permit linking proprietary applications with the
  3227. library.  If this is what you want to do, use the GNU
  3228. Library General Public License instead of this License.
  3229.  
  3230. [QueryBox]
  3231.  
  3232. In the query dialog box you can use the arrow keys or the
  3233. first letter to select an item or click with the mouse on
  3234. the button.
  3235.  
  3236. [How to use help]
  3237.  
  3238. You can use the cursor keys or mouse to navigate in the
  3239. help viewer.
  3240. Press down arrow to move to the next item or scroll down.
  3241. Press up arrow to move to the previous item or scroll up.
  3242. Press right arrow to follow the current link.
  3243. Press left arrow to go back in the history of nodes that
  3244. you have visited.
  3245.  
  3246. If you terminal doesn't support the cursor keys you can
  3247. use the space bar to scroll forward and the 'b' key scroll
  3248. back. Use the TAB key to move to the next item and press
  3249. ENTER to follow the current link. The 'l' (last) key may
  3250. be used to go back in the history of nodes that you have
  3251. visited. Press ESC to exit the help viewer.
  3252.  
  3253. The left mouse button will follow the link or scroll. The
  3254. right mouse button can be used to go back in the history
  3255. of nodes.
  3256.  
  3257. The full key list of the help viewer:
  3258.  
  3259. General movement keysGeneral Movement Keys are accepted.
  3260.  
  3261. tab           Move to the next item.
  3262. M-tab         Move to the previous item. 
  3263. down          Move to the next item or scroll a line down.
  3264. up            Move to the previous item or scroll a line up.
  3265. right, enter  Follow the current link.    
  3266. left, l       Go back in the history of visited nodes.
  3267. F1            Show the help for the help viewer.
  3268. n             Go to the next node.
  3269. p             Go to the previous node.    
  3270. c             Go to the Contents node.    
  3271. F10, esc      Exit the help viewer.
  3272. 
  3273. Local variables:
  3274. fill-column: 58
  3275. end:
  3276.